Run a PromQL range query
Run a PromQL range query against an Amazon Managed Prometheus workspace. GET /aws/amp/query-range in the Ravion API reference.
Query Parameters
AWS account database ID (or the account's givenId) used to resolve credentials.
AWS region the Amazon Managed Prometheus workspace lives in.
Amazon Managed Prometheus workspace id (e.g. ws-1234abcd-...).
PromQL expression. Occurrences of $__interval are replaced server-side with the normalized step, so range-vector windows always match the resolution actually queried.
Requested step in seconds. Widened server-side to Amazon Managed Prometheus's 15s floor and to whatever keeps the window under the 11,000-samples-per-series cap; the effective value is echoed as stepSeconds.
Inclusive start of the query window (ISO 8601). Must be earlier than endTime and within the workspace's 150-day retention.
Inclusive end of the query window (ISO 8601). Must be after startTime and not in the future.
Response
The request has succeeded.
Response payload for a PromQL range query. Always a list of series, even while charts render only the first one — that keeps multi-series charts from being a breaking change later.