Following dropwizard-metrics 4, metrics-scala 4.0.1 was just
released and is it on its way to maven central.
As metrics-scala 4.x is not binary compatible with version 3.x.
Therefor the main package changed from
nl.grons.metrics to
nl.grons.metrics4. Other then that, these versions are
fully source compatible.
Metrics-scala 4.x has multiple artifacts because Akka and Hdr
support were split of from the main artifact.
Update your build files with one of these:
"nl.grons" %% "metrics4-scala" % "4.0.0"
"nl.grons" %% "metrics4-akka_24" % "4.0.0" // Including Akka support (2.4 and 2.5
)
"nl.grons" %% "metrics4-akka_25" % "4.0.0" //
Including Akka support (2.5
)
"nl.grons" %% "metrics4-scala-hdr" % "4.0.0"
// HdrHistogram support
There is one new feature:
FreshRepositories. This is a
mixin trait that can come in handy when writing unit tests.
For more information see:
https://github.com/erikvanoosten/metrics-scala/
Happy coding,
Erik.
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/