Add support for Dropwizard Mertics 4
vladmihalcea opened this issue · 4 comments
vladmihalcea commented
As explained in this issue, DW Metrics 4 has added several changes:
- They did not rename the package after all which makes the DW FlexyPool module dependency useless
- They moved the
JmxReporter
to a new package.
So, we need to release version 2.0 for that and change the DW module to reflect all these changes.
vladmihalcea commented
Also, the codahale and dropwizard FP dependencies should be optional and the user should explicitly opt for one or the other.
johnament commented
It's a bit confusing looking at your code btw. Codahale Metrics was up until 3.0.2. 3.1+ became DropWizard metrics, and I believe they learned their lesson about backwards compatibility going into 4.x.
vladmihalcea commented
@johnament I already pushed the changes for supporting the Dropwizard 4 library.
I'll probably release version 2.0 next week.
vladmihalcea commented
Version 2.0.0 is released and supports Dropwizard 4 by default.