List label values
Return the sorted list of known values for a given label name. Optionally filtered by series selectors and/or a time range.
For example, querying /api/v1/label/job/values returns all
distinct values of the job label across all series.
When match[] selectors are provided, only values from series
matching those selectors are returned. When start and/or end are
provided, only series with samples in that time range are considered.
Path Parameters
Query Parameters
Response
Sorted list of distinct values for the given label name as strings. Returns an empty array if no series have the label.
Response for the label values endpoint
(/api/v1/label/{name}/values). On success, data contains a
sorted array of distinct values for the requested label.