A single time series representing metric values for a specific combination of dimension values over a time range.
Type: objectProperties: 4Required: 2
AI OperationsAnalyticsAPMApplication Performance MonitoringApplication SecurityAutomationCloud MonitoringDigital Experience ManagementIntelligenceObservability
MetricSeries is a JSON Structure definition published by Dynatrace, describing 4 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$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-series-structure.json",
"description": "A single time series representing metric values for a specific combination of dimension values over a time range.",
"type": "object",
"properties": {
"dimensionMap": {
"type": "object",
"description": "A map of dimension names to their values for this specific series. For example, {\"host\": \"web-01\", \"environment\": \"production\"}.",
"additionalProperties": {
"type": "string"
},
"example": {}
},
"dimensions": {
"type": "array",
"description": "An ordered list of dimension values corresponding to the metric's dimension definitions.",
"items": {
"type": "string"
},
"example": [
"example-value"
]
},
"timestamps": {
"type": "array",
"description": "Unix timestamps in milliseconds for each data point in the series. Aligns one-to-one with the values array.",
"items": {
"type": "int64"
},
"example": [
1718153645993
]
},
"values": {
"type": "array",
"description": "Metric values corresponding to each timestamp. A null value indicates no data was recorded for that time slot (gap in the data).",
"items": {
"type": [
"number",
"null"
],
"format": "double"
},
"example": [
"example-value"
]
}
},
"required": [
"timestamps",
"values"
],
"name": "MetricSeries"
}
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.