Prometheus API
Returns a list of label names
post
/api/prometheus/api/v1/labelsbash
Sample request1234curl --request POST 'https://api.eu-west-1.aws.dash0.com/api/prometheus/api/v1/labels' \--header "Authorization: Bearer ${DASH0_AUTH_TOKEN}" \--header 'Content-Type: application/json' \--data-raw '{}'
Request body
References PrometheusLabelNamesOrValuesRequest
string
string
string[]
integer
Optional dataset to query across. Defaults to whatever is configured to be the default dataset for the organization.
Responses
Returns a list of label names.
References PrometheusLabelNamesOrValuesResponse
stringrequired
string[]
string[]