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
Thanks for the detailed report. It sounds like this should also be a problem for removing custom Meter implementations and Timer/DistributionSummary with histogram gauges configured.
Would you be interested and willing to submit a pull request for the fix to the 1.7.x branch?
Steps to reproduce:
foo.statistic.active
,foo.statistic.max
, andfoo.statistic.duration
.Expected:
It should remove all those 3 gauges from the underlying registry (i.e. JMX in this case).
Actual:
All the 3 gauges associated with the LongTimerMetric remain in JMX
Cause:
DropwizardMeterRegistry#newLongTaskTimer creates 3 gauges (Active, Duration, and Max). However it never gets removed during DropwizardMeterRegistry#onMeterRemoved
Fix
In DropwizardMeterRegistry#onMeterRemoved, add the following:
The text was updated successfully, but these errors were encountered: