Versions in this module Expand all Collapse all v1 v1.4.0 Nov 6, 2020 v1.2.0 Aug 20, 2019 Changes in this version + type BufferedStatsd struct + func NewBuffered(addr, prefix string, opts ...BufferedStatsdFunc) (*BufferedStatsd, error) + func (s *BufferedStatsd) Close() error + func (s *BufferedStatsd) Gauge(name string, value float64, rate float32, tags ...string) + func (s *BufferedStatsd) Inc(name string, value int64, rate float32, tags ...string) + func (s *BufferedStatsd) Timing(name string, value time.Duration, rate float32, tags ...string) + type BufferedStatsdFunc func(*BufferedStatsd) + func WithFlushBytes(bytes int) BufferedStatsdFunc + func WithFlushInterval(interval time.Duration) BufferedStatsdFunc + type Statsd struct + func New(addr, prefix string) (*Statsd, error) + func (s *Statsd) Close() error + func (s *Statsd) Gauge(name string, value float64, rate float32, tags ...string) + func (s *Statsd) Inc(name string, value int64, rate float32, tags ...string) + func (s *Statsd) Timing(name string, value time.Duration, rate float32, tags ...string)