Get a list of metrics

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

Returns all metrics that can be configured in the Metrics Summary page or with Metrics without Limits™ (matching additional filters if specified).

Request Params

KeyDatatypeRequiredDescription
filter[configured]booleanFilter custom metrics that have configured tags.
filter[tags_configured]stringFilter tag configurations by configured tags.
filter[metric_type]stringFilter metrics by metric type.
filter[include_percentiles]booleanFilter distributions with additional percentile
aggregations enabled or disabled.
filter[queried]boolean(Beta) Filter custom metrics that have or have not been queried in the specified window[seconds].
If no window is provided or the window is less than 2 hours, a default of 2 hours will be applied.
filter[tags]stringFilter metrics that have been submitted with the given tags. Supports boolean and wildcard expressions.
Can only be combined with the filter[queried] filter.
window[seconds]numberThe number of seconds of look back (from now) to apply to a filter[tag] or filter[queried] query.
Default value is 3600 (1 hour), maximum value is 2,592,000 (30 days).

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"data":[{"type":"metrics"},{"type":"metrics"}]}