Get a span-based metric

GET {{baseUrl}}/api/v2/apm/config/metrics/:metric_id

Get a specific span-based metric from your organization.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

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"}}