Versions in this module Expand all Collapse all v0 v0.9.0 Jun 24, 2019 v0.8.0 Nov 8, 2018 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(delta float64) + func (g *Gauge) Set(value float64) + func (g *Gauge) With(labelValues ...string) metrics.Gauge + type Histogram struct + func (h *Histogram) Observe(value float64) + func (h *Histogram) With(labelValues ...string) metrics.Histogram + type Influxstatsd struct + func New(prefix string, logger log.Logger, lvs ...string) *Influxstatsd + func (d *Influxstatsd) NewCounter(name string, sampleRate float64) *Counter + func (d *Influxstatsd) NewGauge(name string) *Gauge + func (d *Influxstatsd) NewHistogram(name string, sampleRate float64) *Histogram + func (d *Influxstatsd) NewTiming(name string, sampleRate float64) *Timing + func (d *Influxstatsd) SendLoop(c <-chan time.Time, network, address string) + func (d *Influxstatsd) WriteLoop(c <-chan time.Time, w io.Writer) + func (d *Influxstatsd) WriteTo(w io.Writer) (count int64, err error) + type Timing struct + func (t *Timing) Observe(value float64) + func (t *Timing) With(labelValues ...string) metrics.Histogram