We process messages that periodically appear. We use codahale "Timer" dropwizard metrics to measure the time it takes to process them.
I found that someone had the same problem here : "The problem with the exponentially decaying tank is that if new data does not appear, it will continue to give the same numbers all the time. For example, let's say you update the timer from 5 and 7 (then do not put anything), then no matter when you see (even after x hours), the timer will still show the average value of 6, which is not representative of the last 5 minutes in any way. Therefore it only works in if the data is all the time post are falling. "
As you can see with the blue line: 
But there is no reason to solve it. And they say this will not be implemented: https://github.com/dropwizard/metrics/issues/399
How can I reset to correctly use these timers or how should I visualize it so that it doesn't get embarrassed?
source share