Hi All,

I have an application deployed in kubernetes, wherein pods come and go. I 
have configured a counter metrics in the application for keeping track of 
events application receives.

What is the best way to find total number of events application has 
received over a period of say, 3 days?

*increase(myMetrics[3d])* would give me increase over the period, but it 
would result in number of metrics as pods is one of the label and 
application is running on multiple pods which die and spin off continuously.

I can apply sum over this (*sum(increase(myMetrics[3d]))*), but I am not 
sure about it as sum only adds up data points at a given timestamp, not 
over a range of time as far as I understand sum function.

Any input would be helpful to make progress.

With regards




-- 
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/34648415-2f44-407c-8790-554e076034bcn%40googlegroups.com.

Reply via email to