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 (l LabeledCounter) WithValues(vs ...string) metrics.Counter
type LabeledGauge ¶
type LabeledGauge struct{}
func (LabeledGauge) WithValues ¶
func (l LabeledGauge) WithValues(labels ...string) metrics.Gauge
type LabeledTimer ¶
type LabeledTimer struct{}
func (LabeledTimer) WithValues ¶
func (l LabeledTimer) WithValues(labels ...string) metrics.Timer
Click to show internal directories.
Click to hide internal directories.