Versions in this module Expand all Collapse all v0 v0.3.0 Nov 15, 2016 Changes in this version + type Counter struct + func (c *Counter) Add(delta float64) + func (c *Counter) With(labelValues ...string) metrics.Counter + type Gauge struct + func (g *Gauge) Add(value float64) + func (g *Gauge) Set(value float64) + func (g *Gauge) With(labelValues ...string) metrics.Gauge + type Histogram struct + func (h *Histogram) Mean() float64 + func (h *Histogram) Observe(value float64) + func (h *Histogram) Percentile(p float64) int64 + func (h *Histogram) With(labelValues ...string) metrics.Histogram + type Reporter struct + func NewReporter(appname string) (*Reporter, error) + func (r *Reporter) NewCounter(name string, desc ...string) (*Counter, error) + func (r *Reporter) NewGauge(name string, desc ...string) (*Gauge, error) + func (r *Reporter) NewHistogram(name string, min, max int64, unit speed.MetricUnit, desc ...string) (*Histogram, error) + func (r *Reporter) Start() + func (r *Reporter) Stop()