Prometheus and PromQL 3 · Selecting data

Select a range of samples

Return the samples from the last five minutes. Range vectors are the input to functions such as rate.

http_requests_total{job="api"}[5m]

Official Prometheus and PromQL 3 documentation

More selecting data commands

All selecting data commands · Prometheus and PromQL 3 cheatsheet

Was this page helpful?