Dynatrace · JSON Structure

Metrics Api V2 Metric Descriptor Collection Structure

A paginated collection of metric descriptors returned by the list metrics endpoint.

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

MetricDescriptorCollection 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

nextPageKey totalCount resolution metrics

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-descriptor-collection-structure.json",
  "description": "A paginated collection of metric descriptors returned by the list metrics endpoint.",
  "type": "object",
  "properties": {
    "nextPageKey": {
      "type": "string",
      "description": "The cursor for the next page of results. Include this value as the nextPageKey query parameter in the next request. Null if there are no more results.",
      "nullable": true,
      "example": "example-value"
    },
    "totalCount": {
      "type": "int64",
      "description": "The total number of metrics available matching the query.",
      "example": 500
    },
    "resolution": {
      "type": "string",
      "description": "The resolution of the data if applicable.",
      "example": "example-value"
    },
    "metrics": {
      "type": "array",
      "description": "The list of metric descriptors on this page.",
      "items": {
        "$ref": "#/components/schemas/MetricDescriptor"
      },
      "example": [
        {
          "metricId": "abc123",
          "displayName": "Production Service",
          "description": "Example description.",
          "unit": "example-value",
          "dduBillable": true,
          "created": 500,
          "lastWritten": 500,
          "entityType": [
            "STANDARD"
          ],
          "aggregationTypes": [
            "min"
          ],
          "dimensionDefinitions": [
            {
              "key": "example-value",
              "name": "Production Service",
              "type": "STANDARD",
              "displayName": "Production Service"
            }
          ],
          "transformations": [
            "example-value"
          ],
          "defaultAggregation": {}
        }
      ]
    }
  },
  "name": "MetricDescriptorCollection"
}