Versions in this module Expand all Collapse all v0 v0.4.0 Mar 6, 2017 Changes in this version type Gauge + func (g *Gauge) Add(delta float64) v0.3.0 Nov 15, 2016 Changes in this version + type Bucket struct + Count int64 + From int64 + To int64 + type Counter struct + Name string + func NewCounter(name string) *Counter + func (c *Counter) Add(delta float64) + func (c *Counter) LabelValues() []string + func (c *Counter) Value() float64 + func (c *Counter) ValueReset() float64 + func (c *Counter) With(labelValues ...string) metrics.Counter + type Gauge struct + Name string + func NewGauge(name string) *Gauge + func (g *Gauge) LabelValues() []string + func (g *Gauge) Set(value float64) + func (g *Gauge) Value() float64 + func (g *Gauge) With(labelValues ...string) metrics.Gauge + type Histogram struct + Name string + func NewHistogram(name string, buckets int) *Histogram + func (h *Histogram) LabelValues() []string + func (h *Histogram) Observe(value float64) + func (h *Histogram) Print(w io.Writer) + func (h *Histogram) Quantile(q float64) float64 + func (h *Histogram) With(labelValues ...string) metrics.Histogram + type Quantile struct + Quantile int + Value int64 + type SimpleHistogram struct + func NewSimpleHistogram() *SimpleHistogram + func (h *SimpleHistogram) ApproximateMovingAverage() float64 + func (h *SimpleHistogram) LabelValues() []string + func (h *SimpleHistogram) Observe(value float64) + func (h *SimpleHistogram) With(labelValues ...string) metrics.Histogram