The question is, why do you want idelta() on counters - or, why is 
increase() not suitable for your use case?  What do these counters 
represent, and what sort of result are you looking for?

Perhaps you want to do something like this:

    (foo - foo offset 2m) >= 0

This will give you the amount that metric 'foo' has increased, compared to 
its value 2 minutes previously. For a counter reset it will give no value, 
since negative values are filtered out.

On Sunday, 28 August 2022 at 11:52:07 UTC+1 [email protected] wrote:

> Hi,
>
> I graph all my counter with the idelta function but i read that it was 
> meant for gauge only.
> Indeed, when my counters reset it do weird things.
>
> I saw that `increase` was the function i was looking for, but, i don't 
> find an idelta equivalent.
>
> Am i missing something ? Does an instant increase exists ?
>
> Thanks
>

-- 
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/a147d969-09b7-4558-ae53-e8f646a74045n%40googlegroups.com.

Reply via email to