Documentation ¶
Overview ¶
Package noop exposes implementations of metrics which do not do anything. These types are meant to be used in tests that do not care about metrics but need a non-nil reference.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LabeledCounter ¶
type LabeledCounter struct{}
func (LabeledCounter) WithValues ¶
func (LabeledCounter) WithValues(...string) metrics.Counter
type LabeledGauge ¶
type LabeledGauge struct{}
func (LabeledGauge) WithValues ¶
func (LabeledGauge) WithValues(...string) metrics.Gauge
type LabeledHistogram ¶ added in v0.5.0
type LabeledHistogram struct{}
func (LabeledHistogram) WithValues ¶ added in v0.5.0
func (LabeledHistogram) WithValues(...string) metrics.Histogram
type LabeledTimer ¶
type LabeledTimer struct{}
func (LabeledTimer) WithValues ¶
func (LabeledTimer) WithValues(...string) metrics.Timer
Click to show internal directories.
Click to hide internal directories.