Statsd is deprecated (but supported) - new metrics producers are encouraged to use Prometheus
statsd is a metrics aggregation server. We use it to aggregate metrics for Graphite. It flushes data points to Graphite at an interval of 60 seconds (the highest resolution supported by our Graphite configuration), otherwise only the last data point in a given minute would be stored. Statsd also adds various properties to the data such as
.p95, etc. More about that at Graphite#Extended properties.
Use in Cloud Services environment
Metrics can be sent to Statsd in Bash using
echo -n "foo.bar.baz:23|c" | nc -w 1 -u cloudmetrics1001.eqiad.wmnet 8125