Package Usage: go: gopkg.in/alexcesaro/statsd.v2
Package statsd is a simple and efficient StatsD client.
Use options to configure the Client: target host/port, sampling rate, tags, etc.
Whenever you want to use different options (e.g. other tags, different sampling
rate), you should use the Clone() method of the Client.
Because when cloning a Client, the same connection is reused so this is way
cheaper and more efficient than creating another Client using New().
Client's methods buffer metrics. The buffer is flushed when either:
The background goroutine can be disabled using the FlushPeriod(0) option.
Buffering can be disabled using the MaxPacketSize(0) option.
StatsD homepage: https://github.com/etsy/statsd
1 version
Latest release: over 9 years ago
300 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/gopkg.in/alexcesaro/statsd.v2