Dynatrace · JSON Structure

Metrics Api V2 Metric Data Structure

The result of a metric query, containing time-series data for each requested metric and dimension combination.

Type: object Properties: 4
AI OperationsAnalyticsAPMApplication Performance MonitoringApplication SecurityAutomationCloud MonitoringDigital Experience ManagementIntelligenceObservability

MetricData is a JSON Structure definition published by Dynatrace, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

resolution nextPageKey totalCount result

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/dynatrace/refs/heads/main/json-structure/metrics-api-v2-metric-data-structure.json",
  "description": "The result of a metric query, containing time-series data for each requested metric and dimension combination.",
  "type": "object",
  "properties": {
    "resolution": {
      "type": "string",
      "description": "The resolution of the data points in the response. For example, 1h means each data point represents one hour of data.",
      "example": "example-value"
    },
    "nextPageKey": {
      "type": "string",
      "description": "The cursor for the next page of results if the response is paginated. Null if all results are returned.",
      "nullable": true,
      "example": "example-value"
    },
    "totalCount": {
      "type": "int64",
      "description": "The total number of data series in the result.",
      "example": 500
    },
    "result": {
      "type": "array",
      "description": "The list of metric series collections, one per metric key matched by the selector.",
      "items": {
        "$ref": "#/components/schemas/MetricSeriesCollection"
      },
      "example": [
        {
          "metricId": "abc123",
          "data": [
            {}
          ]
        }
      ]
    }
  },
  "name": "MetricData"
}