Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMetricsSink ¶
type FakeMetricsSink struct { metrics.BlackholeSink GaugeCalls []MetricCall IncrCounterCalls []MetricCall // contains filtered or unexported fields }
func NewFakeSink ¶
func NewFakeSink(t *testing.T) (*FakeMetricsSink, *metrics.Metrics)
func (*FakeMetricsSink) IncrCounterWithLabels ¶
func (f *FakeMetricsSink) IncrCounterWithLabels(key []string, val float32, labels []metrics.Label)
func (*FakeMetricsSink) SetGaugeWithLabels ¶
func (f *FakeMetricsSink) SetGaugeWithLabels(key []string, val float32, labels []metrics.Label)
type MetricCall ¶
Click to show internal directories.
Click to hide internal directories.