Metrics-scala 4.0.1 released

59 views
Skip to first unread message

Erik van Oosten

unread,
Jan 7, 2018, 8:42:49 AM1/7/18
to metric...@googlegroups.com
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/

Erik van Oosten

unread,
Jan 8, 2018, 3:18:13 PM1/8/18
to metric...@googlegroups.com
I just noticed that the sbt fragment is wrong. Version 4.0.0 was released but should not be used as it results in binary incompatibilities.

The correct Maven artifact identifiers are:

"nl.grons" %% "metrics4-scala" % "4.0.1"
"nl.grons" %% "metrics4-akka_24" % "4.0.1"    // Including Akka support (2.4 and 2.5)
"nl.grons" %% "metrics4-akka_25" % "4.0.1"    // Including Akka support (2.5)
"nl.grons" %% "metrics4-scala-hdr" % "4.0.1"  // HdrHistogram support

Good luck!
    Erik.


Op 07-01-18 om 14:42 schreef 'Erik van Oosten' via metrics-user:
Reply all
Reply to author
Forward
0 new messages