Returns label names

POST {{baseUrl}}/labels?start=irure&end=irure&match[]=irure

The following endpoint returns a list of label names

The data section of the JSON response is a list of string label names.

Request Params

KeyDatatypeRequiredDescription
startstringStart timestamp. Optional.
endstringEnd timestamp. Optional.
match[]stringRepeated series selector argument that selects the series from which to read the label values. Optional.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"status":"success","data":["__name__","call","code","config","dialer_name","endpoint","event","goversion","handler","instance","interval","job","le","listener_name","name","quantile","reason","role","scrape_job","slice","version"]}