You could: - Use an external counter, such as statsd_exporter - Persist the counters during shutdown, and reload them during restart
You should however note that the *absolute* values of counters are, on the whole, meaningless. If the counter was 1 million yesterday and 1.1 million today, that tells you something: you had 0.1 million hits in 24 hours. But if the counter was 2 million yesterday and 2.1 million today, it tells you the same thing. If you want to work out the average rate of visitors over a long period (say a month), prometheus can do this for you, even though there are counter resets. -- 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 prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/1bcb1ce4-4cdf-4b50-b450-049931cf8b44o%40googlegroups.com.