Skip to content

Releases: erikvanoosten/metrics-scala

Version 3.0.1

02 Aug 15:15
Compare
Choose a tag to compare
  • Upgrade to Metrics-core 3.0.1, #10.
  • Added support for partial functions (thanks @scullxbones).
  • Added support for actors and futures (scala 2.10 only) for timing and metering exceptions (thanks @scullxbones), #8.
  • Removes $ from metrics names, #11.

Version 3.0.0

08 Aug 06:17
Compare
Choose a tag to compare

Metrics-scala 3.0.0 was just released and is available in Maven central.

For more information see: https://github.com/erikvanoosten/metrics-scala

Changes:

  • Code is no longer a copy from Coda Hale's sources and is now maintained by me.
  • Depends on Metrics-core 3.0.0.
  • Ported tests from original to ScalaTest (thanks @scullxbones !).
  • Much more documentation.

Although the metrics-scala API is mostly source compatible, there are breaking API changes which are mostly caused by changes in the metrics-core library:

  • All code moved to the nl.grons.metrics.scala package (changed at Coda Hale's request).
  • The class Instrumented must now be created in your project by extending InstrumentedBuilder.
  • All configuration for histograms, meters, and timers are gone. These are now configured in the reporter.
  • Dropped method clear on Histogram and Timer.

@scullxbones is planning for Actor and Future support (https://github.com/scullxbones/metrics-scala). I am planing for more documentation and Healthcheck support.

Ideas and pull requests are welcome.