Get all span-based metrics
GET {{baseUrl}}/api/v2/apm/config/metrics
Get the list of configured span-based metrics with their definitions.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"data":[{"attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":false,"path":"@duration"},"filter":{"query":"@http.status_code:200 service:my-service"},"group_by":[{"path":"resource_name","tag_name":"resource_name"},{"path":"resource_name","tag_name":"resource_name"}]},"id":"my.metric","type":"spans_metrics"},{"attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":false,"path":"@duration"},"filter":{"query":"@http.status_code:200 service:my-service"},"group_by":[{"path":"resource_name","tag_name":"resource_name"},{"path":"resource_name","tag_name":"resource_name"}]},"id":"my.metric","type":"spans_metrics"}]}