statsd 五种类型数据发送形式拟测试
StatsD Metric Types
Counting
gorets:1|c
This is a simple counter. Add 1 to the "gorets" bucket. At each flush the current count is sent and reset to 0. If the count at flush is 0 then you can opt to send no metric at all for this counter, by setting config.deleteCounters
(applies only to graphite backend). Statsd will send both the rate as well as the count at each flush.
Sampling
gorets:1|c|@0.1
Tells StatsD that this counter is being sent sampled every 1/10th of the time.
Timing
glork:320|ms|@0.1
The glork took 320ms to complete this time. StatsD figures out percentiles, average (mean)