I'm trying to figure out if there is a way to have a counter index even 
between application runs. My use case would be jobs scheduled via 
Kubernetes CronJob, and having counters used for when certain methods are 
called. The app would typically run in a few seconds and be done. So I set 
up pushgateway, and try running the app - I see the counter show up in the 
pushgateway, but it starts over again on the next run of the application.

Is there some common practice that is done here that I should be following 
if I want a counter's value to persist between application runs?

-- 
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/927f938d-aa3a-4670-9a10-17371e911448%40googlegroups.com.

Reply via email to