Closed gnurik closed 7 years ago
@lucky I wrote this ticket to track the issue I raised, pls grab.
I don't think I can assign myself because I'm not a part of this org, but I'm planning to tackle this
@lucky we're actually blocked by this issue now, can you fix plz?
works now, thx!
Good to hear it, and sorry for the delay.
looks like commit b8cbf4dfd96df54926d4ef731fdd8c5251eee4cb seems to cause a problem with dropwizard whose Bootstrap class does something very similar
this.getMetricRegistry().register("jvm.attribute", new JvmAttributeGaugeSet());
and thus causes an exception whenenableAll
is called:Should refactor registering jvm metrics into a separate class that is not automatically called here. It also makes sense to decouple registering specific metrics from registering specific metrics reporters.