Versions in this module Expand all Collapse all v0 v0.12.0 Oct 10, 2024 Changes in this version + func CounterAdd(c Counter, delta float64) + func CounterInc(c Counter) + func CounterValue(c Counter) float64 + func GaugeAdd(g Gauge, delta float64) + func GaugeInc(g Gauge) + func GaugeSet(g Gauge, value float64) + func GaugeSetCurrentTime(g Gauge) + func GaugeSetTimestamp(g Gauge, ts time.Time) + func GaugeValue(g Gauge) float64 + func HistogramObserve(h Histogram, value float64) + type Counter interface + Add func(delta float64) + type Gauge interface + Add func(delta float64) + Set func(value float64) + type Histogram interface + Observe func(value float64) + type TestCounter struct + func NewTestCounter() *TestCounter + func (c *TestCounter) Add(delta float64) + type TestGauge struct + func NewTestGauge() *TestGauge + func (g *TestGauge) Add(delta float64) + func (g *TestGauge) Set(v float64)