StatsD · Example Payload

Statsd Counter Example

AggregationDaemonDogStatsDLine ProtocolMetricsObservabilityOpen SourceStatsDTCPUDPWire Protocol

Statsd Counter Example is an example object payload from StatsD, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

wireparsednotes

Example Payload

Raw ↑
{
  "wire": "gorets:1|c",
  "parsed": {
    "bucket": "gorets",
    "value": 1,
    "type": "counter",
    "wireType": "c",
    "sampleRate": 1.0
  },
  "notes": "Bare counter increment — bucket name `gorets`, value 1. After flush, the daemon emits `stats.counters.gorets.count` (the raw count) and `stats.counters.gorets.rate` (count divided by flushInterval seconds) to the configured backend."
}