question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dropwizard Metrics 4.x

See original GitHub issue

Are 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:closed
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
slovdahlcommented, May 4, 2018

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.

0reactions
philwebbcommented, Oct 4, 2018

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found