Re: hourly counter

2020-09-22 Thread Timo Walther
make custom metric clients unnecessary. I hope this helps. Regards, Timo On 22.09.20 02:02, Lian Jiang wrote: Hi, I have a window function with a window width of 1 min. I want to have an hourly counter which is reset every hour so it never overflows. There are multiple ways but none of th

hourly counter

2020-09-21 Thread Lian Jiang
Hi, I have a window function with a window width of 1 min. I want to have an hourly counter which is reset every hour so it never overflows. There are multiple ways but none of them is straightforward: StatsDClient instance = new NonBlockingStatsDClientBuilder() int count = 0; void incr