Hi all,

I have a metric in my application (using micrometer) and I have a counter that 
increases each time a method is executed. Of course, this counter is reset only 
if the app is restarted.

This metric is exposed to Prometheus and I can query it in the UI.

Now the question. Is there a way to get a difference on that counter between 2 
dates?

Use case:
- Today, the counter has value 5000
- 2 days ago, it had value 4000
- So, I need a query that displays the value 1000, which is the difference 
between the 2 dates.

Thank you for your time.

Regards,
Marcos

-- 
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/093cfa2f-75dd-4c2d-a989-1b4069f3e221o%40googlegroups.com.

Reply via email to