Query Metrics
Execute arbitrary PromQL range query. Returns Prometheus format.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
query
PromQL query
start
Start time (ISO8601 or Unix timestamp)
end
End time (ISO8601 or Unix timestamp)
step
Query resolution step (e.g. 60s, 5m, 1h)
Response
Successful Response
status
'success' or 'error'
data
Data section of a matrix response.
error
Error message if status is 'error'
errorType
Errors
422
Unprocessable Entity Error