Use the subquery-syntax
These subqueries are expensive, i.e. create very high load on Prometheus. Use recording-rules when you use these queries regularly.
- A PromQL-function which returns an instant-vector).
- Offset (back in time) to start the first subquery.
- The size of each of the subqueries.
It returns a range-vector.
In the example above, Prometheus runs
instant_query) 30 times (the first from 5 minutes ago to -4:50, ..., the last -0:10 to now). The resulting range-vector is input to the