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
Key | Datatype | Required | Description |
---|---|---|---|
start | string | Start timestamp. Optional. | |
end | string | End timestamp. Optional. | |
match[] | string | Repeated series selector argument that selects the series from which to read the label values. Optional. | |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
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"]}