Skip to content

Counter restarting with deployments restart #784

Discussion options

You must be logged in to vote

Hello, this is how counters work in Prometheus, and functions such as rate and increase in Prometheus are designed to handle counter resets. For example, you could use increase(watchdog_observer_files_processed_total{app=~"$watchdog"}[1h]) to see how many files were processed in the last hour.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by VictorCallejas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #783 on March 11, 2022 20:42.