Datadog · Schema

MetricSeries

A single metric series containing data points and associated metadata

AnalyticsDashboardsMonitoringPlatformT1Visualizations

Properties

Name Type Description
metric string The name of the metric to submit. Must not exceed 200 characters. Only ASCII alphanumerics, underscores, and periods are allowed.
type integer The type of the metric (0=unspecified, 1=count, 2=rate, 3=gauge)
points array List of data points, each containing a timestamp (Unix epoch in seconds) and a value
tags array List of tags associated with the metric in key:value format (e.g., env:prod)
host string The name of the host that produced the metric data
resources array A list of resources associated with the metric, such as hosts or services
interval integer If the type is rate or count, defines the corresponding interval in seconds
unit string The unit of the metric value (e.g., byte, second, request)
View JSON Schema on GitHub

JSON Schema

datadog-metrics-metric-series-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/datadog/refs/heads/main/json-schema/datadog-metrics-metric-series-schema.json",
  "title": "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": "integer",
      "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": "integer",
      "format": "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 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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/datadog-metrics-metric-series"
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.