Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 TaglessHistogramOptions ¶
TaglessHistogramOptions defines the information associated with a metric
type TaglessOptions ¶
TaglessOptions defines the information associated with a metric
Click to show internal directories.
Click to hide internal directories.