Prometheus and PromQL 3 · Rates and aggregation
Predict a trend
Estimate free disk space four hours from now by extrapolating the last six hours.
predict_linear(node_filesystem_avail_bytes[6h], 4 * 3600)
Official Prometheus and PromQL 3 documentation
More rates and aggregation commands
- Per-second rate of a counter
- Total increase over a window
- Aggregate across series
- Error ratio
- 95th percentile latency
- Top N series
All rates and aggregation commands · Prometheus and PromQL 3 cheatsheet