Datadog · JSON Structure

Datadog Metrics Metric Series Structure

A single metric series containing data points and associated metadata

Type: object Properties: 8 Required: 2
AnalyticsDashboardsMonitoringPlatformT1Visualizations

MetricSeries is a JSON Structure definition published by Datadog, describing 8 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

metric type points tags host resources interval unit

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/datadog/refs/heads/main/json-structure/datadog-metrics-metric-series-structure.json",
  "name": "MetricSeries",
  "description": "A single metric series containing data points and associated metadata",
  "type": "object",
  "properties": {
    "metric": {
      "type": "string",
      "description": "The name of the metric to submit. Must not exceed 200 characters. Only ASCII alphanumerics, underscores, and periods are allowed.",
      "example": "example_value"
    },
    "type": {
      "type": "int32",
      "description": "The type of the metric (0=unspecified, 1=count, 2=rate, 3=gauge)",
      "enum": [
        0,
        1,
        2,
        3
      ],
      "default": 3
    },
    "points": {
      "type": "array",
      "description": "List of data points, each containing a timestamp (Unix epoch in seconds) and a value",
      "items": {
        "$ref": "#/components/schemas/MetricPoint"
      }
    },
    "tags": {
      "type": "array",
      "description": "List of tags associated with the metric in key:value format (e.g., env:prod)",
      "items": {
        "type": "string"
      }
    },
    "host": {
      "type": "string",
      "description": "The name of the host that produced the metric data",
      "example": "example_value"
    },
    "resources": {
      "type": "array",
      "description": "A list of resources associated with the metric, such as hosts or services",
      "items": {
        "$ref": "#/components/schemas/MetricResource"
      }
    },
    "interval": {
      "type": "int64",
      "description": "If the type is rate or count, defines the corresponding interval in seconds",
      "example": 42
    },
    "unit": {
      "type": "string",
      "description": "The unit of the metric value (e.g., byte, second, request)",
      "example": "example_value"
    }
  },
  "required": [
    "metric",
    "points"
  ]
}

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/datadog-metrics-metric-series-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.