Lightbend Telemetry 2.10 migration guide

This is a guide for migrating from Lightbend Telemetry 2.9 to Lightbend Telemetry 2.10.

There are no breaking changes or migration changes required for Lightbend Telemetry 2.10.

Coda Hale Metrics (Dropwizard Metrics)

Note: Lightbend Telemetry 2.11 supports both Metrics 3 and Metrics 4.

In Lightbend Telemetry 2.9, Coda Hale Metrics was upgraded from version 3 to version 4.

If you have other dependencies that are still on Metrics 3, then you may get this exception if the old JMX reporter is referenced:

java.lang.NoClassDefFoundError: com/codahale/metrics/JmxReporter

The preferred option is to upgrade to Lightbend Telemetry 2.11 or later and select the Metrics 3 core dependency.

Lightbend Telemetry 2.10.1 also introduced Metrics 3 versions for all the relevant Lightbend Telemetry modules as a temporary approach for compatibility, but an upgrade to Lightbend Telemetry 2.11 is recommended.