Dash0 acquires Polar Signals

Prometheus API

Evaluates an instant query at a single point in time

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

Request body required

stringrequired
string
string
integer
Dataset

Optional dataset to query across. Defaults to whatever is configured to be the default dataset for the organization.

Responses

Evaluated instant query at a single point in time.

stringrequired
string[]
string[]

Info-level annotations produced while evaluating the query (Prometheus 3.0+), kept separate from warnings.