Thoughts on improving visibility to SettableGauge
dennyac opened this issue · 1 comments
dennyac commented
Been a dropwizard/metrics user since 2015, but just recently came across SettableGauge. Some thoughts on improving visibility usage
- Add more documentation
- Add a getter
metricRegistry.settableGauge
( Currently I have to cast Gauge to SettableGauge to be able to set a value) - Add a default implementation for
setValue
to the Gauge interface that doesn't do anything to make it backwards compatible with Gauge implementations outside the dropwizard repository (May not be ideal ? Defeats purpose of SettableGauge interface?)
Happy to work on this if people find it useful
github-actions commented
This issue is stale because it has been open 180 days with no activity. Remove the "stale" label or comment or this will be closed in 14 days.