Dropwizard Metrics 4.x
See original GitHub issueAre there any plans for updating the Dropwizard Metrics dependency to 4.x in the near future?
We’re currently using Metrics (version 4.x) for exposing metrics over JMX. While I was evaluating gradually migrating from Dropwizard Metrics to Micrometer, I noticed that Micrometer depends on Dropwizard Metrics 3.2.x. With regard to JMX reporting, version 3.2 is incompatible with 4.x. JMX support has been moved to a separate artifact, metrics-jmx
, and the com.codahale.metrics.JmxReporter
class has been moved to com.codahale.metrics.jmx.JmxReporter
, which is the main cause of incompatibility here.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Metrics Core
Reporting metrics values via JMX, the console, CSV files, and SLF4J loggers. Metric Registries. The starting point for Metrics is the MetricRegistry class, ......
Read more >Intro to Dropwizard Metrics - Baeldung
Metrics is a Java library which provides measuring instruments for Java applications. It has several modules, and in this article, ...
Read more >Dropwizard Metrics - Apache CXF
The Dropwizard Metrics library is a widely used metrics instrumentation choice for JVM application. The 3.x release line of Dropwizard Metrics has been ......
Read more >[JAVA-2045] Upgrade Dropwizard Metrics to 4.x - DataStax
Hi,. I'd like to upgrade Dropwizard Metrics in Apache Storm to version 4.0.3 to get some fixes for Java 9 ...
Read more >Metrics using Dropwizard - Eclipse Vert.x
The MetricsService provides an API in front of the Dropwizard Registry to get metrics data snapshots. Naming. Each measured component listed below (except...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
And FWIW, in the meantime it’s trivial to have a copy of
JmxMeterRegistry
in my own code that uses Dropwizard Metrics 4.x instead.I started the process of the Boot upgrade but our tests fail because of this issue. @jkschneider What are your thoughts for upgrading in time for Boot 2.1 RC1?