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
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
The text was updated successfully, but these errors were encountered:
Been a dropwizard/metrics user since 2015, but just recently came across SettableGauge. Some thoughts on improving visibility usage
metricRegistry.settableGauge
( Currently I have to cast Gauge to SettableGauge to be able to set a value)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
The text was updated successfully, but these errors were encountered: