package adapters
import "github.com/uber/jaeger-lib/metrics/adapters"
Index ¶
- func WrapFactoryWithTags(f FactoryWithTags, options Options) metrics.Factory
- func WrapFactoryWithoutTags(f FactoryWithoutTags, options Options) metrics.Factory
- type FactoryWithTags
- type FactoryWithoutTags
- type Options
- type TaglessHistogramOptions
- type TaglessOptions
- type TaglessTimerOptions
Functions ¶
func WrapFactoryWithTags ¶
func WrapFactoryWithTags(f FactoryWithTags, options Options) metrics.Factory
WrapFactoryWithTags creates a real metrics.Factory that supports subscopes.
func WrapFactoryWithoutTags ¶
func WrapFactoryWithoutTags(f FactoryWithoutTags, options Options) metrics.Factory
WrapFactoryWithoutTags creates a real metrics.Factory that supports subscopes.
Types ¶
type FactoryWithTags ¶
type FactoryWithTags interface { Counter(options metrics.Options) metrics.Counter Gauge(options metrics.Options) metrics.Gauge Timer(options metrics.TimerOptions) metrics.Timer Histogram(options metrics.HistogramOptions) metrics.Histogram }
FactoryWithTags creates metrics with fully qualified name and tags.
type FactoryWithoutTags ¶
type FactoryWithoutTags interface { Counter(options TaglessOptions) metrics.Counter Gauge(options TaglessOptions) metrics.Gauge Timer(options TaglessTimerOptions) metrics.Timer Histogram(options TaglessHistogramOptions) metrics.Histogram }
FactoryWithoutTags creates metrics based on name only, without tags. Suitable for integrating with statsd-like backends that don't support tags.
type Options ¶
Options affect how the adapter factory behaves.
type TaglessHistogramOptions ¶
TaglessHistogramOptions defines the information associated with a metric
type TaglessOptions ¶
TaglessOptions defines the information associated with a metric
type TaglessTimerOptions ¶
TaglessTimerOptions defines the information associated with a metric
Source Files ¶
cache.go factory.go tagless.go
- Version
- v2.4.1+incompatible (latest)
- Published
- Mar 29, 2021
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 6 hours ago –
Tools for package owners.