StatsD is a front-end proxy for the Graphite/
Carbon metrics server.!
Originally written by Etsy’s Erik Kastner!
The first idea from Flickr by Cal Henderson!
Implemented in Node
StatsD in many languages
Flickr’s StatsD: Perl. The real original statsd from 2008.!
Etsy’s statsd: Node.js. The new statsd.!
petef-statsd: Ruby. Supports AMQP.!
quasor/statsd: Ruby. can send data to graphite or mongoDB!
py-statsd: Python (including python client code).!
statsd.scala: Scala. Sends data to Ganglia instead of Graphite. Different messaging
protocol, uses JSON.!
statsd-c: C. compatible with original etsy statsd!
bucky: Python. A small server for collecting and translating metrics for Graphite.
It can current collect metric data from CollectD daemons and from StatsD clients.
Your App send data to StatsD by UDP port
StatsD send data to Carbon by TCP port 2003
At each flush the current count is sent and reset to 0!
sent sampled every 1/10th of the time!
If the gauge is not updated at the next flush,
it will send the previous value.!
Counting unique occurrences of events between
flushes, using a Set to store all occurring events.!
Unique user count
To calculate the difference time!
Response time calculation