Skip to main content
GET
/
metrics
/
labels
/
{labelName}
/
values
List label values
curl --request GET \
  --url https://v1.api.altostrat.io/metrics/labels/{labelName}/values \
  --header 'Authorization: Bearer <token>'
[
  "9c69345c-8d39-4786-9f17-8153c988c89a"
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

labelName
string
required

The Prometheus label name.

Example:

"site_id"

Query Parameters

start
integer

Unix timestamp for the beginning of the discovery window. Defaults to one hour ago.

end
integer

Unix timestamp for the end of the discovery window. Defaults to now.

Response

Label values.

Example:
["9c69345c-8d39-4786-9f17-8153c988c89a"]