--
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 prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/b138e11b-7d6d-4a84-b9e6-3f262ac7da88%40googlegroups.com.
Correct. rate(), irate(), and increase() deal correctly with counter resets, so they are the functions to use for counters (which can only go up besides resets, and you never care about their value itself, only the increase).delta() and deriv() are for gauges, as they don't interpret non-monotonically increasing values as resets. So you can see e.g. how much a temperature has changed in the last 1h, or see how disk usage is trending.
On Thu, Apr 6, 2017 at 1:57 AM, <ili...@luminatewireless.com> wrote:
Oh never mind... looks like I should just use the increase function, right?
On Wednesday, April 5, 2017 at 4:54:15 PM UTC-7, ili...@luminatewireless.com wrote:Hi there,
According to the documentation on the website, the delta function should only be used with gauges. Why can't it be used with counters? I was hoping to use delta as a way to get a counter's true increase since it seems to account for counter resets.Ilina
--
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 prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.