Dynatrace · Schema

Dynatrace Metric Series

A time-series data series returned by the Dynatrace Metrics API v2 query endpoint, representing metric values for a specific set of dimensions over a time range.

AI OperationsAnalyticsAPMApplication Performance MonitoringApplication SecurityAutomationCloud MonitoringDigital Experience ManagementIntelligenceObservability

Properties

Name Type Description
metricId string The metric key with applied transformations, e.g. builtin:host.cpu.usage:avg. This key identifies the metric and any selector transformations that were applied during the query.
data array Array of time series, one per unique dimension combination. Each item represents a distinct set of dimension values (e.g., a specific host or service) with its corresponding timestamps and metric valu
View JSON Schema on GitHub

JSON Schema

dynatrace-metric-series-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.dynatrace.com/schemas/metrics/metric-series.json",
  "title": "Dynatrace Metric Series",
  "description": "A time-series data series returned by the Dynatrace Metrics API v2 query endpoint, representing metric values for a specific set of dimensions over a time range.",
  "type": "object",
  "required": ["metricId", "data"],
  "properties": {
    "metricId": {
      "type": "string",
      "description": "The metric key with applied transformations, e.g. builtin:host.cpu.usage:avg. This key identifies the metric and any selector transformations that were applied during the query.",
      "examples": [
        "builtin:host.cpu.usage:avg",
        "builtin:service.response.time:percentile(95)",
        "custom.my.metric:sum"
      ]
    },
    "data": {
      "type": "array",
      "description": "Array of time series, one per unique dimension combination. Each item represents a distinct set of dimension values (e.g., a specific host or service) with its corresponding timestamps and metric values.",
      "items": {
        "$ref": "#/$defs/MetricSeries"
      }
    }
  },
  "$defs": {
    "MetricSeries": {
      "type": "object",
      "title": "Metric Series",
      "description": "A single time series for one unique combination of dimension values. Contains parallel arrays of timestamps and values where each index position corresponds to one data point.",
      "required": ["timestamps", "values"],
      "properties": {
        "dimensionMap": {
          "type": "object",
          "description": "Key-value map of dimension names to their values for this series. For example, {\"host\": \"web-01\", \"environment\": \"production\"}. Provides named access to dimension values.",
          "additionalProperties": {
            "type": "string"
          },
          "examples": [
            {"host": "web-01", "environment": "production"},
            {"dt.entity.service": "SERVICE-ABCDEF1234567890"}
          ]
        },
        "dimensions": {
          "type": "array",
          "description": "Ordered list of dimension values matching the metric's dimension definitions. The order corresponds to the dimensionDefinitions returned in the metric descriptor. Use dimensionMap for named access.",
          "items": {
            "type": "string"
          },
          "examples": [
            ["web-01", "production"],
            ["SERVICE-ABCDEF1234567890"]
          ]
        },
        "timestamps": {
          "type": "array",
          "description": "Unix timestamps in milliseconds for each data point in the series. Each timestamp marks the start of the aggregation window for the corresponding value. Aligns one-to-one with the values array.",
          "items": {
            "type": "integer",
            "description": "Unix timestamp in milliseconds",
            "minimum": 0
          },
          "examples": [
            [1609459200000, 1609462800000, 1609466400000]
          ]
        },
        "values": {
          "type": "array",
          "description": "Metric values corresponding to each timestamp. A null value indicates no data was available or recorded for that time slot (a gap in the time series). The array length always matches the timestamps array length.",
          "items": {
            "type": ["number", "null"],
            "description": "The metric value for this time slot. Null indicates no data for the corresponding timestamp."
          },
          "examples": [
            [45.2, 67.8, null, 51.3],
            [250.0, 310.5, 289.0]
          ]
        }
      }
    }
  }
}

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/dynatrace-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.