This is minor maintenance release which only consists of dependency updates: metrics-core: 4.2.27 → 4.2.28, pekko 1.0.3 → 1.1.1.
This is minor maintenance release which only consists of dependency updates: metrics-core: 4.2.25 → 4.2.27, pekko 1.0.2 → 1.0.3.
In addition, the metrics4-pekko library was missing in maven central due to authentication problems. As of this version, the pekko module is present again. Unfortunately, older versions could not be restored.
This is minor maintenance release which only consists of dependency updates: metrics-core: 4.2.19 → 4.2.25, HdrHistogram 2.1.12 → 2.2.2, pekko 1.0.1 → 1.0.2.
- Pekko support! Thanks to a contribution of @normana400.
- Require at least java 11.
- For Scala 3: require at least 3.3.0.
- Updates: metrics-core: 4.2.9 → 4.2.19, akka: 2.6.19 → 2.6.20.
- Push gauges are now backed by Dropwizard's settable gauges. This also means that creating a push gauge multiple times is now allowed and will return the first created gauge. Solves #405. @benwaffle, thanks for the pull request!
- Updates: metrics-core: 4.2.7 → 4.2.9, akka: 2.6.18 → 2.6.19
- Scala 3 support! Based on some very good work from @xuwei-k, thanks!
- Introduced a version for Akka 2.6.
- Updates: metrics-core: 4.1.29 → 4.2.7, hdrhistogram-metrics-reservoir: 1.1.0 → 1.1.3
This release misses some components, please use v4.2.8 instead.
- Updates: metrics-core: 4.1.14 → 4.1.19.
- Updates: metrics-core: 4.1.9 → 4.1.14.
- Documented how to use metrics-scala with ZIO.
- Updates: metrics-core: 4.1.5 → 4.1.9, Akka: 2.5.26 → 2.5.31.
- New feature: push gauges.
- Updates: metrics-core: 4.1.4 → 4.1.5
- No code changes.
- Dropwizard 4.1.4 security upgrade (see https://github.com/dropwizard/metrics/releases/tag/v4.1.4).
- Updates: metrics-core: 4.1.1 → 4.1.4, HdrHistogram: 2.1.11 → 2.1.12.
- Though a lot of plumbing is in flux, there were no code changes.
- Bumped version number to match Dropwizard's version (this should have happened in June already).
- Updates: metrics-core: 4.1.0 → 4.1.1, Akka: 2.5.23 → 2.5.26.
- Restrored pre- #117 behavior: metric base name can be empty again. This fixes #162, many thanks to @franzneubert0815 and @michaelarndt0423 for finding this regression.
- Fixed typo in documentation. Thanks @eugenemedvediev!
- No code changes.
- Added scala 2.13.
- No code changes.
- Scaladoc improvements.
- Updates: metrics-core 4.0.5 → 4.1.0, Akka: 2.5.22 → 2.5.23.
- Added scala 2.13.0-RC3. Note: 2.13.0-RC3 is no longer supported, please use v4.0.7 for scala 2.13.
- No code changes (except for tests).
- Updates: Akka: 2.5.19 → 2.5.22.
- Tests now use mockito-scala instead of mockito.
- Added scala 2.13.0-RC1. Note: 2.13.0-RC1 is no longer supported, please use v4.0.7 for scala 2.13.
- No code changes.
- Updates: scala 2.12.7 → 2.12.8, dropwizard metrics: 4.0.3 → 4.0.5, HdrHistogram: 2.1.10 → 2.1.11, Akka: 2.5.18 → 2.5.19.
- Added scala 2.13.0-M5. Note: 2.13.0-M5 is no longer supported, please use v4.0.7 for scala 2.13.
- Fixed an (unlikely to happen) off-by-one error introduced in v4.0.2.
- Deprecated the
scope
parameter in the metric builder so that it can be removed in v5.0.0.
- Deprecated the
scope
parameter in the metric builder so that it can be removed in v5.0.0.
- Drastic performance improvements for metric name generation. This is especially important for dynamically generated metric names. This improvement was authored by Filip Ochnik (@filipochnik). Thanks Filip! (#117)
- Compiles against Scala 2.13 betas, metrics-scala is now part of the Scala community build.
- Lots of dependency updates (also thanks to Scala Steward): Dropwizard metrics 4.0.1 → 4.0.3, Akka 2.5.8 → 2.5.18, HdrHistogram 2.1.9 → 2.1.10, Scala 2.12.4 → 2.12.7, Scalatest 3.0.4 → 3.0.5, Mockito 1.10.19 → 2.23.0.
- Upgraded sbt from 1.0.4 to 1.2.6.
- All code moved to the package
nl.grons.metrics4.scala
to prevent clashes with version 3.x. Except for the package name change,v4.0.1
is fully source compatible withv3.5.9
. - Added trait
FreshRegistries
,FreshMetricRegistry
andFreshHealthCheckRegistry
to enable testing that metrics are collected. Furthermore it eases unit testing of components that define gauges or health checks (see documentation). - Using dropwizard-metrics 4.0.1, only targeting Java 8 and later.
- Bumped Scala and Akka to latest minor versions.
- Dropped support for Scala 2.10 and Akka 2.3.
- Removed deprecations. (Trait
FutureMetrics
and methodMeter.exceptionMarkerPartialFunction
.) - Akka support moved to a separate library:
"nl.grons" %% "metrics4-akka_a24"
and"nl.grons" %% "metrics4-akka_a25"
- Hdr support moved to a separate library:
"nl.grons" %% "metrics4-scala-hdr"
- Upgraded sbt from 0.13 to 1.0. Complete cross build can not be done with a single sbt invocation.
v4.0.0 was released but should not be used as it is not compatible with v3.x.
- Further performance improvement for creating dynamically created HDR metrics, thanks to the very attentive @OlegIlyenko (and again @agourlay) (#92)
- Regression from 3.5.7: fixed a race condition in creating dynamically created HDR metrics, thanks go to @agourlay (#91)
- A performance optimization for dynamically created HDR metrics, a fine contribution by @truemped and @otrosien (#90)
- Version bumps: Metrics-core 3.2.0 → 3.2.2, Scala 2.12.1 → 2.12.2, Scala 2.11.8 → 2.11.11, Akka 2.4.17 → 2.4.18
- Version bumps: Metrics-core 3.1.2 → 3.2.0, Scala 2.12.0 → 2.12.1, Akka 2.3.15 → 2.3.16 and 2.4.14 → 2.4.17.
- Dropped Akka 2.2 support.
- Measure also when the value-by-name parameter of
timeFuture
throws (#78) by @Slakah. Thanks JCollier! - Introduces
DefaultInstrumented
, a great convenience introduced by @jklukas (#80). Good idea Jeff! - Bumped optional HdrHistogram dependency from 2.1.6 to 2.1.9.
- (2016-10-06) Released for scala 2.12.0-RC1 and akka 2.4.11 (no longer supported). This release was not possible without the work of @takezoe (#83). Thanks Naoki!
- (2016-10-26) Released for scala 2.12.0-RC2 and akka 2.4.11 (no longer supported).
- (2016-11-04) Released for scala 2.12.0 and akka 2.4.12.
- Removed double class from metric name (#75), reported by Per Rovegård (@provegard). Thanks Per!
- Improved metric names for metrics in nested classes and in anonymous sub-classes.
- Deprecated class
FutureMetrics
. - Added
Timer.timeFuture
. This fixes #68 for real, thanks to @maciej for the thought seed. - Akka 2.3 bumped to 2.3.15.
- Introduced
ActorInstrumentedLifeCycle
to automatically unregister gauges in actors (#69). It took quite some time to find a simple solution. Thanks go to @mrmeyers99, @ymeymann and @scullxbones for ideas and example code. - Akka 2.3 bumped to 2.3.14, Scala 2.10 bumped to 2.10.6, Scala 2.11 bumped to 2.11.8.
- Added implicits to write MetricFilters as a scala function, idea and code from @maciej (#62).
- Removed Akka 2.1 support.
- Akka 2.3 bumped to 2.3.13, Scala 2.11 bumped to 2.11.7.
- Added method
countConcurrency
to counters, idea from @fedeoasi, pull request by @gshakhn (#60). - For Akka 2.3 build: build against Akka 2.3.11.
- This release is not binary, nor source compatible with 3.4.x.
The incompatibility is restricted to health-checks. Previously a code block written as second parameter
for method
healthCheck
would be evaluated at the call-side, using only the last expression in the block as pass-by-name parameter. Now, the entire block is passed as a call-by-value parameter. The latter is more what you would expect, so you probably won't notice any incompatibility. - Health-checks now support
Unit
andFuture
checkers. Based on a pull request from Scala virtuoso @davidhoyt (#59). (Also, this solves #42 for real.) - Build against io.dropwizard.metrics 3.1.2.
- Added support for hdrhistogram.
- For Akka 2.2 build: build against Akka 2.2.5.
- For Akka 2.3 build: build against Akka 2.3.9.
- Build against io.dropwizard.metrics 3.1.0.
- For Akka 2.3 build: build against Akka 2.3.6.
- For future timing, invoke argument only once, closes #50. Bug report and solution from @JeffBellegarde.
- Added support for cached gauge, a nice pull request by @pasieronen (#52).
- For Akka 2.3 build: build against Akka 2.3.5.
- This release is not binary compatible with 3.1.x.
- Properly support multi-line health-checks, closes #42. An incredibly subtle bug reported by @joster-jambit, with a nifty solution from @som-snytt. (Update: the problem has been fully solved in version 3.5.0.)
- Added support for
Try
in Health-checks, an idea of our own @scullxbones. Future
s are now supported in the build without Akka (solves #44 by @yatskevich).- Allow measurements of
Future
s that were created elsewhere (#45).
- Only released for Scala 2.11 and Akka 2.3.
- This release fixed a test dependency which was accidentally declared as regular dependency (#40) thanks for the report @lvicentesanchez.
- Solved problem with conflicting inherited members in the version 3.1.0 (#37) reported by @dvallejo, thanks!
- Build against no Akka (closes #32, #33, #21), Akka 2.1.4, 2.2.4 and 2.3.2.
- Now also build for Scala 2.11 (closes #34).
- Entire cross-build is now done with a script (#30, #31), based on research from @scullxbones.
- ".package" in metrics name (closes #19), thanks @akalinovskiy!
- Allow non-Class-based metric naming, #35, a great idea from @arosien
- Build against Metrics-core 3.0.2.
- Build against Akka 2.1.4, 2.2.4 and 2.3.0.
- Small documentations correction (thanks @oschrenk!)
- Fixed description in pom.
- Same release build against Akka 2.2.0 instead of
[2.2,)
.
- Same release build against Akka 2.1.0 instead of 2.2.0.
- Added support for health checks (thanks @scullxbones), #17. The module metrics-healthchecks is now a required dependency.
- added back inc/dec on Counter (thanks @alexy), #14
- Renamed
Timer.time
for partial functions to prevent type annotations (thanks @scullxbones), #13, #15. - Renamed
Meter.exceptionMarkerPartialFunction
toMeter.exceptionMarkerPF
to be consistent withTimer
.
- 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.
- As code is no longer maintained by Coda Hale, added and updated copyright statements to reflect this.
- Depends on Metrics-core 3.0.0.
- Ported tests from original to ScalaTest (thanks @scullxbones).
- Added 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). - All timers now measure in nanoseconds.
- All configuration for histograms, meters, and timers are gone. These are now configured in the reporter.
- The class
Instrumented
must now be created in your project by extendingInstrumentedBuilder
. - Dropped method
clear
onHistogram
andTimer
.
- No code changes.
- Initial copy from Coda Hale's Metrics project.