Metrics Api V2 Metric Default Aggregation Structure
The default aggregation setting for the metric.
Type: objectProperties: 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.
{
"$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"
}
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.