github.com/echa/statsd
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
proxy.golang.org
v2.0.0+incompatible
almost 10 years ago
1
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/echa/statsd
spec |
| License | MIT |
| Namespace | github.com/echa |
| First Release | almost 10 years ago |
| Last Synced | 9 days ago |
Repository
| Stars | 0 on GitHub |
| Forks | 0 on GitHub |