StatsD · JSON Structure

Statsd Metric Instance Structure

Field-level structure for a parsed StatsD metric observation. Captures the on-the-wire representation plus tag and timestamp metadata added by tag-aware servers (DogStatsD, gostatsd, Telegraf).

Type: object Properties: 0
AggregationDaemonDogStatsDLine ProtocolMetricsObservabilityOpen-SourceStatsDTCPUDPWire Protocol

Statsd Metric Instance Structure is a JSON Structure definition published by StatsD.

Meta-schema:

JSON Structure

Raw ↑
{
  "title": "StatsD Metric Instance Structure",
  "description": "Field-level structure for a parsed StatsD metric observation. Captures the on-the-wire representation plus tag and timestamp metadata added by tag-aware servers (DogStatsD, gostatsd, Telegraf).",
  "type": "object",
  "fields": [
    { "name": "bucket", "type": "string", "required": true, "description": "Dotted-path metric name." },
    { "name": "value", "type": "number", "required": false, "description": "Numeric value of the observation. Required unless the metric is a set." },
    { "name": "setValue", "type": "string", "required": false, "description": "String value, used only for set metrics (cardinality counting)." },
    { "name": "type", "type": "string", "required": true, "description": "Logical metric type.", "enum": ["counter", "gauge", "timer", "histogram", "set", "meter", "distribution"] },
    { "name": "wireType", "type": "string", "required": true, "description": "Wire-format type letter (c, g, ms, h, s, m, d).", "enum": ["c", "g", "ms", "h", "s", "m", "d"] },
    { "name": "delta", "type": "boolean", "required": false, "description": "True when a gauge value used a +/- delta prefix." },
    { "name": "sampleRate", "type": "number", "required": false, "description": "Sample rate carried in the @rate clause; defaults to 1.0." },
    { "name": "tags", "type": "object", "required": false, "description": "Tag bag from a DogStatsD/Telegraf |# suffix." },
    { "name": "timestamp", "type": "string", "required": false, "description": "Server ingest timestamp in ISO-8601." },
    { "name": "host", "type": "string", "required": false, "description": "Sender hostname populated by tag enrichment." }
  ]
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/statsd-metric-instance-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.