What are `_over_time` functions?
IntermediateConceptPromQL & Recording Rules
Answer
They aggregate each series over a time range (for gauges): avg_over_time, max_over_time, min_over_time, sum_over_time, count_over_time, quantile_over_time, stddev_over_time, last_over_time, present_over_time.
max_over_time(node_load1[1h])
quantile_over_time(0.95, queue_depth[30m])
avg_over_time(up{job="api"}[1d]) # availability-ish ratio
Note sum aggregates across series at one instant; sum_over_time aggregates across time within one series.
More on PromQL & Recording Rules
What are the PromQL data types?BeginnerWhat label matchers does PromQL support?BeginnerExplain `rate()`.Beginner`rate()` vs `irate()`: what is the difference?IntermediateWhat does `increase()` return and why is it sometimes a non-integer?IntermediateWhy must you `rate()` before `sum()`, never the reverse?Intermediate