Dash0 acquires Polar Signals

Prometheus API

Evaluates and returns a formatted version of the query

post/api/prometheus/api/v1/format_query
bash
Sample request
123456
curl --request POST 'https://api.eu-west-1.aws.dash0.com/api/prometheus/api/v1/format_query' \
--header "Authorization: Bearer ${DASH0_AUTH_TOKEN}" \
--header 'Content-Type: application/json' \
--data-raw '{
"query": "up"
}'

Request body required

stringrequired

Responses

Evaluated and formatted query.

stringrequired
string
string[]