foo - foo offset 2d

However if you want counter resets to be taken into account, you may prefer 
to use increase() 
<https://prometheus.io/docs/prometheus/latest/querying/functions/#increase>:
increase(foo[2d])

Note that increase() takes the rate and extrapolates over the full 2d 
period, so won't exactly line up with the counter values.

-- 
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/a8c1fd30-795f-4e2a-9972-bc6100524d4fo%40googlegroups.com.

Reply via email to