Prometheus and PromQL 3 · Rates and aggregation
Total increase over a window
How much a counter grew in the last hour.
increase(http_requests_total[1h])
Official Prometheus and PromQL 3 documentation
More rates and aggregation commands
- Per-second rate of a counter
- Aggregate across series
- Error ratio
- 95th percentile latency
- Top N series
- Average over time
All rates and aggregation commands · Prometheus and PromQL 3 cheatsheet