StatsD · Schema
DogStatsD Event
A DogStatsD event payload, decoded from the line-protocol form `_e{
AggregationDaemonDogStatsDLine ProtocolMetricsObservabilityOpen-SourceStatsDTCPUDPWire Protocol
Properties
| Name | Type | Description |
|---|---|---|
| title | string | Event title — short, human-readable summary. The wire prefix `{N,M}` encodes its UTF-8 byte length. |
| text | string | Event body. May contain `\n` (escaped). Its UTF-8 byte length is the second integer in the wire prefix. |
| timestamp | integer | Optional `d:` field — Unix epoch in seconds. Defaults to the agent's current time. |
| hostname | string | Optional `h:` field — host the event refers to. |
| priority | string | Optional `p:` field — display priority. |
| alertType | string | Optional `t:` field — alert severity. |
| sourceTypeName | string | Optional `s:` field — origin of the event for Datadog source routing. |
| aggregationKey | string | Optional `k:` field — groups related events together in the timeline. |
| tags | object | Optional `#k:v,k:v` tag bag. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api-evangelist.github.io/statsd/json-schema/dogstatsd-event-schema.json",
"title": "DogStatsD Event",
"description": "A DogStatsD event payload, decoded from the line-protocol form `_e{<TITLE_UTF8_LENGTH>,<TEXT_UTF8_LENGTH>}:<TITLE>|<TEXT>|d:<TIMESTAMP>|h:<HOSTNAME>|p:<PRIORITY>|t:<ALERT_TYPE>|s:<SOURCE>|#<TAGS>`.",
"type": "object",
"required": ["title", "text"],
"properties": {
"title": {
"type": "string",
"description": "Event title — short, human-readable summary. The wire prefix `{N,M}` encodes its UTF-8 byte length."
},
"text": {
"type": "string",
"description": "Event body. May contain `\\n` (escaped). Its UTF-8 byte length is the second integer in the wire prefix."
},
"timestamp": {
"type": "integer",
"description": "Optional `d:` field — Unix epoch in seconds. Defaults to the agent's current time."
},
"hostname": {
"type": "string",
"description": "Optional `h:` field — host the event refers to."
},
"priority": {
"type": "string",
"enum": ["normal", "low"],
"default": "normal",
"description": "Optional `p:` field — display priority."
},
"alertType": {
"type": "string",
"enum": ["error", "warning", "info", "success"],
"default": "info",
"description": "Optional `t:` field — alert severity."
},
"sourceTypeName": {
"type": "string",
"description": "Optional `s:` field — origin of the event for Datadog source routing."
},
"aggregationKey": {
"type": "string",
"description": "Optional `k:` field — groups related events together in the timeline."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Optional `#k:v,k:v` tag bag."
}
},
"additionalProperties": false,
"examples": [
{
"title": "An exception occurred",
"text": "Cannot parse CSV file from 10.0.0.17",
"alertType": "warning",
"tags": {
"err_type": "bad_file"
}
}
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/dogstatsd-event"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.