Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Capabilities ¶
type Capabilities struct { // Tagging indicates whether the factory has the capability for tagged metrics Tagging bool }
Capabilities describes capabilities of a specific metrics factory.
type Counter ¶
type Counter struct {
// contains filtered or unexported fields
}
Counter is an adapter from go-kit Counter to jaeger-lib Counter
type Factory ¶
type Factory interface { Counter(name string) kit.Counter Gauge(name string) kit.Gauge Histogram(name string) kit.Histogram Capabilities() Capabilities }
Factory provides a unified interface for creating named metrics from various go-kit metrics implementations.
type FactoryOption ¶
type FactoryOption func(*factory)
FactoryOption is a function that adjusts some parameters of the factory.
func ScopeSeparator ¶
func ScopeSeparator(scopeSep string) FactoryOption
ScopeSeparator returns an option that overrides default scope separator.
func TagsSeparator ¶
func TagsSeparator(tagsSep string) FactoryOption
TagsSeparator returns an option that overrides default tags separator.
type Gauge ¶
type Gauge struct {
// contains filtered or unexported fields
}
Gauge is an adapter from go-kit Gauge to jaeger-lib Gauge
type Histogram ¶
type Histogram struct {
// contains filtered or unexported fields
}
Histogram is an adapter from go-kit Histogram to jaeger-lib Histogram
func NewHistogram ¶
NewHistogram creates a new Histogram
Click to show internal directories.
Click to hide internal directories.