The idea of application performance monitoring with minimal side-effects brought Statsd to life. It is a daemon service that listens to UDP packets. It expects text payload, aggregates the metrics, and send them over to a metrics server (a time series DB).
The metrics data is flushed at regular intervals (default 10 seconds). After every flush, the counter metrics reset to zero whereas gauge metrics send the previous value.
The metrics and operations are of the following types:
- Counter – Increment & Decrement
- Gauge – A fixed value
Written with StackEdit.