query_metrics_range
Run a PromQL range query to retrieve time-series metrics across a specified time window. Specify start, end, and step for matrix data.
Instructions
Run a PromQL range query against Thanos.
Args:
query: PromQL expression.
start: Start of the time range. RFC 3339 or Unix timestamp string.
end: End of the time range. RFC 3339 or Unix timestamp string.
step: Query resolution step width. Duration string (60s, 5m)
or float seconds.
Returns:
JSON payload with resultType: "matrix" and the time-series data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| step | Yes | ||
| query | Yes | ||
| start | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||