Skip to main content
Version: 0.12


The statsd codec supports the statsd format.

The format is similar the influx line protoco` line protocoll.

The codec translates a single statsd measurement line into a structured event


The native format of a single statsd event line is as follows:


The equivalent representation as a tremor value:

"type": "c",
"metric": "sam",
"value": 7,
"sample_rate": 0.1

Supported types

  • c for counter
  • ms for timing
  • g for gauge
  • h for histogram
  • s for sets


For gauge there is also the field action which might be add if the value was prefixed with a +, or sub if the value was prefixed with a -