File: doc.go

package info (click to toggle)
golang-gopkg-alexcesaro-statsd.v1 0.0~git20160306.0.c289775-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 112 kB
  • ctags: 110
  • sloc: makefile: 2
file content (17 lines) | stat: -rw-r--r-- 567 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
Package statsd is a simple and efficient StatsD client.

Client's methods are fast and do not allocate memory.

Internally, Client's methods buffers metrics. The buffer is flushed when either:
 - the background goroutine flushes the buffer (every 100ms by default)
 - the buffer is full (1440 bytes by default so that IP packets are not
   fragmented)

The background goroutine can be disabled using the WithFlushPeriod(0) option.

Buffering can be disabled using the WithMaxPacketSize(0) option.

StatsD homepage: https://github.com/etsy/statsd
*/
package statsd