How can i apply rate or increase while using http api. On Thu, 25 May, 2023, 7:52 pm Stuart Clark, <[email protected]> wrote:
> On 25/05/2023 06:56, Yogita Bhardwaj wrote: > > I am using Prometheus counters in my project but the value of counter > > reset when service restart. how can I prevent counter reset while > > fetching data from Prometheus using http api. -- > > It is expected that counters will reset when a service restarts, so you > don't need to do anything. Prometheus handles counter resets > automatically when you are using functions like rate(). > > -- > Stuart Clark > > -- 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/CACrfAEyLvDWM0UP9%2ByMe61---M8E8qTPZFrwOTTmSYX5_fPuGA%40mail.gmail.com.

