counter

A metric that only ever goes up, such as the total number of requests or errors, from which rates are calculated.

In more detail

The raw total depends on how long the process has been running and resets when it restarts, so it is almost always read as a rate of increase over a time window. A value that needs to go down is a gauge, not a counter.

Example

jobs_enqueued_total counts every job that ever arrived; it never falls, even when the queue empties.

Related terms

Taught in

References

Certification courses