1.8.0
Micrometer 1.8.0
is the GA version of an LTS feature release. Below are the combined release notes of all the pre-release milestones and release candidate preceding it.
⚠️ Noteworthy
- Known issue: [statsd] JVM crash (
SIGSEGV
) at startup with alpine based docker image, see #2776 for workaround - Regression: [statsd] Statsd meter recordings are dropped when submitted from parallel threads #2880 (fixed in 1.8.1)
- Deprecate
ReactorNettySender
#2814 - Migrate Jersey server instrumentation into micrometer-core #2780
- Move
DiskSpaceMetrics
to i.m.core.instrument.binder.system #2750
⭐ New Features / Enhancements
- Include the number of active instances in CommonsObjectPool2Metrics #2623
- Dynatrace metrics API v2 support #2295
- Support "collection" tag in "mongodb.driver.commands" metric #1799
- Use Dynatrace v2 export as default unless deviceId is set #2727
- Add connector name tag for
JettyConnectionMetrics
andJettySslHandshakeMetricsBinder
#2603 - Unix Domain Socket support (StatsD) #792
- Migrate Jersey server instrumentation into micrometer-core #2780
- Add jersey-server as transitive dependency, remove jersey-hk2 #2768
- Move DiskSpaceMetrics to i.m.core.instrument.binder.system #2750
- Jersey 3 server support #2748
- Datadog distributions via DogStatsD #1056
- StackdriverMeterRegistry should report Counters as CUMULATIVE not as GAUGE #2773
- Elastic registry: allow api-key for authentication #2712
- More accurate metrics for 404 responses from Jersey #2587
- Build with JDK 17.0.0 #2778
🪲 Bug Fixes
- Rename netty native files so native libraries can be loaded #2611
- Monitored Cache is not eligible for garbage collection #2642
- Can't configure DISTRIBUTION on per-metric basis for Datadog #2798
- PrometheusNamingConvention duplicates "_seconds" suffix with default configuration for Timer metrics #2320
- zgc pause time includes concurrent time #2372
- Prevent race conditions in cache metrics #2839
🔨 Dependency Upgrades
- Upgrade to Reactor 2020.0 #2588
- Upgrade google-cloud-monitoring to 2.x #2249
- Upgrade dynatrace-metric-utils to 1.1.0 #2699
- Upgrade to JUnit 5.8.1 #2816
📝 Tasks
- Update Dynatrace metric library usage #2698
- Rename OneAgentMetadataEnrichment to DynatraceMetadataEnrichment #2692
- Pin jOOQ to 3.14.+ #2685
- Update Spring Boot example config for Dynatrace #2658
- Upgrade Spring Boot to 2.6.0-M3 in samples for 1.8.x #2831
- Native image support investigation #2637
- Remove redundant maven central repository in samples #2610
- Update Dynatrace samples for Spring Boot autoconfiguration #2713
- Use latest.release for Javalin #2711
- License violation in
JsonUtils
#2762 - Upgrade Gradle to 7.2 #2757
- Add a build job on JDK 11 #2756
- Add a build job on JDK 8 #2480
- Integration test for Elasticsearch backend with API key authentication #2820
- Deprecate
ReactorNettySender
#2814 - CloudWatchMeterRegistry must use a separate thread pool to publish data to cloud watch #2717
- Use JUnit Jupiter for JerseyTest tests #2852
- Fix WavefrontMeterRegistryTest.configureDefaultSenderWithCustomConfig() #2849
- Ensure Micrometer can be compiled to native image with JDK 17 based GraalVM #2777
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
@izeye @arminru @bono007 @pirgeo @wengertj @OlgaMaciaszek @bentmann @YuliaFrishko @tmarszal @Fetsivalen @bodin @samarprakash @cyberdelia