This is a guide for migrating from Cinnamon 2.8 to Cinnamon 2.9.
Note: Cinnamon 2.10.1 includes versions of all Coda Hale Metrics modules for both Metrics 3 and Metrics 4.
Coda Hale Metrics has been upgraded from version 3 to version 4.
Only the JMX reporter is affected by this change. If you have other dependencies that are still on Metrics 3, then you may get this exception if the old JMX reporter is referenced:
The preferred option is to upgrade to Cinnamon 2.10.1 or later and use the Metrics 3 module variations.
Otherwise, one option is to see if all dependencies can be aligned on Metrics 4. Or there may be compatibility support. For example, if you’re using the Datastax driver for Cassandra, then you can workaround this by having the Datastax driver use Metrics 4.
An alternative option is to force Cinnamon to use Metrics 3 instead. This works if you’re not using the Cinnamon JMX reporter — all other reporters should be compatible across Metrics 3 and Metrics 4. For example, the following dependency override can be added in sbt:
dependencyOverrides += "io.dropwizard.metrics" % "metrics-core" % "3.2.6"
The Overops integration is deprecated and will be removed in the next major release of Cinnamon.