Documentation ¶
Index ¶
- type Statsd
- func (s *Statsd) Dec(key string, v int64, _ float32) error
- func (s *Statsd) Gauge(key string, v int64, _ float32) error
- func (s *Statsd) GaugeDelta(key string, v int64, _ float32) error
- func (s *Statsd) Inc(key string, v int64, _ float32) error
- func (s *Statsd) NewSubStatter(key string) statsd.SubStatter
- func (s *Statsd) Raw(string, string, float32) error
- func (s *Statsd) Set(string, string, float32) error
- func (s *Statsd) SetInt(string, int64, float32) error
- func (s *Statsd) SetSamplerFunc(statsd.SamplerFunc)
- func (s *Statsd) Timing(key string, v int64, f float32) error
- func (s *Statsd) TimingDuration(key string, v time.Duration, _ float32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Statsd ¶
type Statsd struct { Registry metrics.BaseRegistry // contains filtered or unexported fields }
Statsd does statsd metrics to a metric registry Namespacing picked from https://github.com/statsd/statsd/blob/master/docs/namespacing.md
func (*Statsd) NewSubStatter ¶
func (s *Statsd) NewSubStatter(key string) statsd.SubStatter
func (*Statsd) SetSamplerFunc ¶
func (s *Statsd) SetSamplerFunc(statsd.SamplerFunc)
Click to show internal directories.
Click to hide internal directories.