Versions in this module Expand all Collapse all v0 v0.6.0 Jun 30, 2023 Changes in this version + type Config struct + Address string + Enabled bool + Prefix string + SamplingRate float64 + Separator string + WithInfluxTagFormat bool + type Metric struct + func (m *Metric) Failure(err error) *Metric + func (m *Metric) Publish() + func (m *Metric) Success() *Metric + func (m *Metric) Tag(key string, val string) *Metric + type Reporter struct + func Init(logger log.Logger, cfg Config) (*Reporter, error) + func (sd *Reporter) Close() + func (sd *Reporter) Gauge(name string, value float64) *Metric + func (sd *Reporter) Histogram(name string, value float64) *Metric + func (sd *Reporter) Incr(name string) *Metric + func (sd *Reporter) Timing(name string, value time.Duration) *Metric