You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a timer to record request latency percentiles. The problem is if there are no requests (meaning no calls to Update) the percentiles get "stuck" (meaning they latch on the last set of percentiles). Looking at the code this is because ExpDecaySample.update is the only thing that updates the samples (there is nothing that "ticks" the samples).
Is this deliberate?
I believe the java impl doesn't have this issue because the dataset is rescaled when fetched.
I'm using a timer to record request latency percentiles. The problem is if there are no requests (meaning no calls to
Update
) the percentiles get "stuck" (meaning they latch on the last set of percentiles). Looking at the code this is becauseExpDecaySample.update
is the only thing that updates the samples (there is nothing that "ticks" the samples).Is this deliberate?
I believe the java impl doesn't have this issue because the dataset is rescaled when fetched.
https://github.com/dropwizard/metrics/blob/4.0-development/metrics-core/src/main/java/com/codahale/metrics/ExponentiallyDecayingReservoir.java
The text was updated successfully, but these errors were encountered: