A similar recent discussion: https://groups.google.com/d/topic/prometheus-users/_eZLUjF9NmI/discussion
<https://groups.google.com/d/topic/prometheus-users/_eZLUjF9NmI/discussion> In short, what you ask doesn't make sense. You don't know a timestamp for the counter when it had a value of 0 - and therefore you can't calculate the rate of increase. In turn, the way the increase() function works is to extrapolate the rate over the time window. This allows it, amongst other things, to work in the face of counter resets. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/68ad470b-a0de-4006-b8de-cfb570440376o%40googlegroups.com.

