Dynatrace · JSON Structure

Metrics Api V2 Metric Default Aggregation Structure

The default aggregation setting for the metric.

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

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

Properties

type parameter

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-default-aggregation-structure.json",
  "description": "The default aggregation setting for the metric.",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "The aggregation type to apply when no aggregation is specified in the query. For example, avg, sum, or max.",
      "enum": [
        "min",
        "max",
        "sum",
        "count",
        "avg",
        "median",
        "percentile"
      ],
      "example": "min"
    },
    "parameter": {
      "type": "number",
      "format": "double",
      "description": "The parameter for the aggregation type, used for percentile aggregation to specify the percentile value (e.g., 95).",
      "example": 87.5
    }
  },
  "name": "MetricDefaultAggregation"
}