increase()

The PromQL function that reports how much a counter grew in total over a time window, handling restarts.

In more detail

increase suits questions such as how many requests arrived yesterday. It is rate multiplied by the window length, so both handle counter resets the same way.

Example

increase(http_requests_total[1d])

Related terms

Taught in

References

Certification courses