Skip to content

Commit

Permalink
Mention delta function
Browse files Browse the repository at this point in the history
  • Loading branch information
prymitive committed Jun 17, 2022
1 parent 7eb253d commit 2e5a773
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/checks/promql/rate.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ to verify that:
passed to it and will return calculated value, using a non-counter will cause
problems. This is because counters are only allowed to increase in value and any
value drop is interpreted as counter overflow.
For gauge metrics please use [`deriv()`](https://prometheus.io/docs/prometheus/latest/querying/functions/#deriv)
function instead.
For gauge metrics use [`delta()`](https://prometheus.io/docs/prometheus/latest/querying/functions/#delta)
or [`deriv()`](https://prometheus.io/docs/prometheus/latest/querying/functions/#deriv)
functions instead.

## Configuration

Expand Down

0 comments on commit 2e5a773

Please sign in to comment.