How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

StatsD Wire Protocol

The StatsD wire protocol is a UTF-8, line-oriented, UDP-by-default packet format used to push application metrics from clients to a StatsD daemon. Each line takes the form `bucket:value|type[|@sample_rate]`, where `type` is one of `c` (counter), `g` (gauge, with optional `+`/`-` for delta), `ms` (timer), `h` (histogram), `s` (set), or `m` (meter, in some dialects). Multiple metrics may share a packet when separated by `\n`. The protocol is connectionless on UDP (port 8125) and connection-oriented on TCP, where each metric MUST be terminated by `\n`. The wire format is the canonical contract between StatsD, its tag-aware dialects (DogStatsD, InfluxDB, SignalFx), and the wider ecosystem of clients and servers.

StatsD Wire Protocol is one of 8 APIs that StatsD publishes on the APIs.io network, described by an AsyncAPI event-driven specification.

This API exposes 3 JSON Schema definitions.

Tagged areas include Counters, Gauges, Histograms, Line Protocol, and Meters. The published artifact set on APIs.io includes API documentation, a GitHub repository, an AsyncAPI specification, a JSON-LD context, and 3 JSON Schemas.

This event API exposes 0 operations across 1 channel, and defines 7 schemas. It is described by AsyncAPI 3.0.0, at version 1.0.0.

The API connects through 2 servers: {host}:8125 (udp), {host}:8125 (tcp).

0 operations 1 channels 7 schemas

Metadata

The identity and technical contract details declared by the specification.

Specification
AsyncAPI 3.0.0
API Version
1.0.0
Servers
{host}:8125 (udp)
{host}:8125 (tcp)
License

Messages & Schemas 7

The contract defines 7 schemas that model the data carried by its messages. Each schema is shown below with its type and property counts.

Counter
message
Counter Metric
Gauge
message
Gauge Metric
Timer
message
Timer Metric
Histogram
message
Histogram Metric
Set
message
Set Metric
Meter
message
Meter Metric
MultiMetric
message
Multi-Metric Packet

Specification

The full machine-readable AsyncAPI contract behind this narrative.

Source

statsd-wire-protocol-asyncapi.yml Raw ↑

Other APIs StatsD publishes across the network.

DogStatsD Wire Protocol
StatsD Configuration API
StatsD Counters API
StatsD Gauges API
StatsD Health API
StatsD Stats API
StatsD Timers API
Where this information came from

This is an independent, third-party profile of StatsD Wire Protocol, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.