Range query
Evaluate a PromQL expression over a range of time, returning a matrix of time series with regularly spaced samples.
The expression is evaluated at each step interval between start
and end (both inclusive). The result is always a matrix
(resultType: "matrix"), where each series contains an array of
[timestamp, value] pairs spaced by step.
Also accepts POST with a application/x-www-form-urlencoded body
containing the same parameters.
Query Parameters
Response
Range query result. Always returns resultType: "matrix" with
an array of time series, each containing regularly spaced
[timestamp, value] pairs. Series are sorted by their metric
label set.
Response envelope for a range query (/api/v1/query_range). On
success, data always contains a matrix result. On error, error
and errorType describe the failure.