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 BatchPointsWriter interface + Write func(influxdb.BatchPoints) error + type Counter struct + func (c *Counter) Add(delta float64) + func (c *Counter) With(labelValues ...string) metrics.Counter + 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 Influx struct + func New(tags map[string]string, conf influxdb.BatchPointsConfig, logger log.Logger) *Influx + func (in *Influx) NewCounter(name string) *Counter + func (in *Influx) NewGauge(name string) *Gauge + func (in *Influx) NewHistogram(name string) *Histogram + func (in *Influx) WriteLoop(c <-chan time.Time, w BatchPointsWriter) + func (in *Influx) WriteTo(w BatchPointsWriter) (err error)