v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBSpans Metrics
Get all span-based metrics
Get the list of configured span-based metrics with their definitions.
get/api/v2/apm/config/metrics
Response
OK
Example response
{
"data": [
{
"attributes": {
"compute": {
"aggregation_type": "distribution",
"path": "@duration"
},
"filter": {
"query": "@http.status_code:200 service:my-service"
},
"group_by": [
{
"path": "resource_name",
"tag_name": "resource_name"
}
]
},
"id": "my.metric",
"type": "spans_metrics"
}
]
}