URL parameters
Source for which to retrieve metrics
Query parameters
Page number
Number of metrics per page. Default 50, maximum 250.
Headers
Bearer $TOKEN
Returns a list of metrics and labels for a specified source.
URL parameters
Source for which to retrieve metrics
Query parameters
Page number
Number of metrics per page. Default 50, maximum 250.
Headers
Bearer $TOKEN
Returns a paginated list of metrics and labels.
Response body
Response attributes
The ID of the metric, prefixed with m- for a metric with aggregations or g- for a label without them.
The resource type, always metric.
The name of the metric or label.
The SQL expression that extracts the value.
The aggregations applied to the metric, any of avg, count, uniq, max, min, sum and histogram, or an empty array for a label; sources on the legacy schema can also return anyLast, p50, p90, p95 and p99.
The data type of the value, one of string, string_low_cardinality, int64_delta, int64, uint64_delta, uint64, float64_delta, datetime64_delta or boolean.
URL of the first page. Read more about pagination.
URL of the last page.
URL of the previous page, or null on the first page.
URL of the next page, or null on the last page.
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.