Get all span-based metrics

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

Get the list of configured span-based metrics with their definitions.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"data":[{"attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":"\u003cboolean\u003e","path":"\u003cstring\u003e"},"filter":{"query":"\u003cstring\u003e"},"group_by":[{"path":"\u003cstring\u003e","tag_name":"\u003cstring\u003e"},{"path":"\u003cstring\u003e","tag_name":"\u003cstring\u003e"}]},"id":"\u003cstring\u003e","type":"spans_metrics"},{"attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":"\u003cboolean\u003e","path":"\u003cstring\u003e"},"filter":{"query":"\u003cstring\u003e"},"group_by":[{"path":"\u003cstring\u003e","tag_name":"\u003cstring\u003e"},{"path":"\u003cstring\u003e","tag_name":"\u003cstring\u003e"}]},"id":"\u003cstring\u003e","type":"spans_metrics"}]}