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 Dogstatsd struct + func New(prefix string, logger log.Logger) *Dogstatsd + func (d *Dogstatsd) NewCounter(name string, sampleRate float64) *Counter + func (d *Dogstatsd) NewGauge(name string) *Gauge + func (d *Dogstatsd) NewHistogram(name string, sampleRate float64) *Histogram + func (d *Dogstatsd) NewTiming(name string, sampleRate float64) *Timing + func (d *Dogstatsd) SendLoop(c <-chan time.Time, network, address string) + func (d *Dogstatsd) WriteLoop(c <-chan time.Time, w io.Writer) + func (d *Dogstatsd) WriteTo(w io.Writer) (count int64, err error) + type Gauge struct + 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 Timing struct + func (t *Timing) Observe(value float64) + func (t *Timing) With(labelValues ...string) metrics.Histogram