Releases: micrometer-metrics/micrometer
1.17.0-RC1
⭐ New Features
- Add meter for ForkJoinPool#getDelayedTaskCount #6381
- Add support for JDK 26's MemoryPoolMXBean.getTotalGcCpuTime() #7245
- Clear the state of the ObservationValidator #7337
- Improve exemplars sizing and add exemplarsSize config #7324
- Log warning when a registry is added to composite after meter registration #6908
- Treat OkHttp Request as non-nullable #7388
- Validate
Observation.Scopeclosing when using TestObservationRegistry #6329
🐞 Bug Fixes
- Invalid reflection hint in micrometer-core for native GraalVM 25 build #7316
- ObservationGrpcClientInterceptor throws NPE when NameResolver returns empty authority #7380
- ObservationValidator scope LIFO validation produces false positives for parallel observations #7288
- Wrong Nullability Information in OkHttpMetricsEventListener #7373
🔨 Dependency Upgrades
- Bump activemq-artemis from 2.52.0 to 2.53.0 #7317
- Bump biz.aQute.bnd:biz.aQute.bnd.gradle from 7.2.1 to 7.2.3 #7341
- Bump com.google.cloud:google-cloud-monitoring from 3.87.0 to 3.89.0 #7291
- Bump com.google.cloud:libraries-bom from 26.77.0 to 26.79.0 #7355
- Bump com.gradle.develocity from 4.3.2 to 4.4.0 #7343
- Bump com.gradleup.shadow from 9.3.2 to 9.4.1 #7354
- Bump com.netflix.nebula:gradle-info-plugin from 16.1.0 to 16.2.1 #7266
- Bump com.netflix.nebula:nebula-project-plugin from 13.0.1 to 13.1.0 #7282
- Bump com.netflix.nebula:nebula-publishing-plugin from 23.0.0 to 23.1.0 #7279
- Bump com.netflix.spectator:spectator-reg-atlas from 1.9.4 to 1.9.6 #7278
- Bump grpc from 1.79.0 to 1.80.0 #7304
- Bump io.prometheus:prometheus-metrics-bom from 1.5.0 to 1.5.1 #7318
- Bump org.jooq:jooq from 3.20.11 to 3.21.1 #7333
- Bump software.amazon.awssdk:cloudwatch from 2.42.10 to 2.42.9 #7361
- Bump spring6 from 6.2.16 to 6.2.17 #7292
❤️ Contributors
Thank you to all the contributors who worked on this release:
@Goooler, @Joowon-Seo, @belugabehr, @izeye, and @ribafish
1.16.5
🐞 Bug Fixes
- Invalid reflection hint in micrometer-core for native GraalVM 25 build #7316
- ObservationGrpcClientInterceptor throws NPE when NameResolver returns empty authority #7380
- Wrong Nullability Information in OkHttpMetricsEventListener #7373
🔨 Dependency Upgrades
- Bump com.netflix.spectator:spectator-reg-atlas from 1.9.4 to 1.9.6 #7393
- Bump spring6 from 6.2.16 to 6.2.17 #7294
❤️ Contributors
Thank you to all the contributors who worked on this release:
@Joowon-Seo, and @ribafish
1.15.11
🐞 Bug Fixes
- Invalid reflection hint in micrometer-core for native GraalVM 25 build #7316
🔨 Dependency Upgrades
- Bump org.apache.maven:maven-resolver-provider from 3.9.13 to 3.9.14 #7280
- Bump spring6 from 6.2.16 to 6.2.17 #7294
❤️ Contributors
@Joowon-Seo and @ribafish
Thank you to all the contributors who worked on this release:
1.17.0-M3
See also the 1.17 migration guide.
Deprecations
- Deprecate DynatraceConfig#group #7181
- Un-deprecate DynatraceConfig#apiToken #7180
- Deprecate unused
Observation.Scope-related methods #7255
⭐ New Features
- Make OtlpMetricsSender.Request#toString human-readable #7264
- OTLP exemplar support #3795
- Support meters with the same name but different set of tag keys in PrometheusMeterRegistry #877
Dependency upgrades
- Bump io.opentelemetry.proto:opentelemetry-proto from 1.9.0-alpha to 1.10.0-alpha #7265
❤️ Contributors
Thank you to all the contributors who worked on this release:
1.16.4
🐞 Bug Fixes
- Using context-propagation with a no-op Observation corrupts the current Observation #7200
📔 Documentation
- Document (Default)MeterObservationHandler #6361
- Document Jakarta Mail instrumentation #6485
- Document statsd UDS config #5730
❤️ Contributors
Thank you to all the contributors who worked on this release:
1.15.10
📔 Documentation
❤️ Contributors
Thank you to all the contributors who worked on this release:
1.17.0-M2
⭐ New Features
- Fix escaping for Telegraf StatsD #6513
- Support compressing metrics payload in OtlpConfig and OtlpHttpMetricsSender #7009
- Time-windowed max gauge for OTLP histograms #6159
Deprecations
- Deprecate Dynatrace v1 support #6923
- Deprecate Apache HTTP client instrumentation in favor of httpclient5-observation #7158
📔 Documentation
- Document OtlpConfig#compressionMode #7108
🔨 Dependency Upgrades
- Bump com.google.auth:google-auth-library-oauth2-http from 1.41.0 to 1.42.1 #7110
- Bump com.google.cloud:google-cloud-monitoring from 3.82.0 to 3.84.0 #7149
- Bump com.google.cloud:libraries-bom from 26.73.0 to 26.75.0 #7150
- Bump com.netflix.spectator:spectator-reg-atlas from 1.9.3 to 1.9.4 #7160
- Bump dropwizard-metrics from 4.2.37 to 4.2.38 #7114
- Bump io.dropwizard.metrics5:metrics-core from 5.0.5 to 5.0.6 #7118
- Bump io.micrometer:context-propagation from 1.2.0 to 1.2.1 #7175
- Bump software.amazon.awssdk:cloudwatch from 2.41.10 to 2.41.9 #7119
❤️ Contributors
Thank you to all the contributors who worked on this release:
@allnightlong, @BenEfrati, @pythaac, and @izeye
1.16.3
🐞 Bug Fixes
📔 Documentation
🔨 Dependency Upgrades
- Bump ch.qos.logback:logback-classic from 1.5.24 to 1.5.26 #7125
- Bump com.hazelcast:hazelcast from 5.3.8 to 5.6.0 #6802
- Bump com.netflix.spectator:spectator-reg-atlas from 1.9.3 to 1.9.4 #7166
- Bump dropwizard-metrics from 4.2.37 to 4.2.38 #7120
- Bump gradle-wrapper from 8.14.3 to 8.14.4 #7112
- Bump grpc from 1.76.2 to 1.76.3 #7137
- Bump io.dropwizard.metrics5:metrics-core from 5.0.5 to 5.0.6 #7124
- Bump io.freefair.aspectj.post-compile-weaving from 8.14.3 to 8.14.4 #7070
- Bump io.spring.develocity.conventions from 0.0.24 to 0.0.25 #7101
- Bump org.assertj:assertj-core from 3.27.6 to 3.27.7 #7126
❤️ Contributors
Thank you to all the contributors who worked on this release:
@izeye, @mateusz-nalepa, and @tkmsaaaam
1.15.9
🐞 Bug Fixes
📔 Documentation
🔨 Dependency Upgrades
- Bump dropwizard-metrics from 4.2.37 to 4.2.38 #7120
- Bump gradle-wrapper from 8.14.3 to 8.14.4 #7112
- Bump io.spring.develocity.conventions from 0.0.24 to 0.0.25 #7099
- Bump org.assertj:assertj-core from 3.27.6 to 3.27.7 #7123
❤️ Contributors
@izeye, @mateusz-nalepa, and @tkmsaaaam
Thank you to all the contributors who worked on this release:
1.17.0-M1
⚠️ Noteworthy
- Remove transitive runtime dependency on LatencyUtils #6883
- Enable java.* imports for OSGi Import-Package #6816
⭐ New Features
- Add AssertJ assertions for various Meters #6870
- Add benchmark for filtered log events #6894
- Apply
@CheckReturnValueto Assert implementations #7038 - Improve Scalar Replacement consistency in AbstractCompositeMeter to avoid unnecessary allocation #6811
- Improve efficiency of MeterRegistry#getMeters #7035
- Metrics not collected after ScheduledExecutorService recreation #6920
- Remove ThreadLocal usage from LogbackMetrics #6882
- Remove transitive runtime dependency on LatencyUtils #6883
- Support Postgresql 17 in PostgreSQLDatabaseMetrics #6657
🐞 Bug Fixes
- CaffeineCacheMetrics nullability is incompatible with Caffeine 3.2.3 #6973
- ExecutorServiceMetrics: repeatedly logs exception when monitoring
ThreadPerTaskExecutorwithout--add-opens#6726
🔨 Dependency Upgrades
- Bump com.google.auth:google-auth-library-oauth2-http from 1.40.0 to 1.41.0 #6934
- Bump com.google.cloud:google-cloud-monitoring from 3.79.0 to 3.82.0 #6885
- Bump com.google.cloud:libraries-bom from 26.71.0 to 26.73.0 #6906
- Bump com.netflix.spectator:spectator-reg-atlas from 1.9.1 to 1.9.3 #6905
- Bump io.prometheus:prometheus-metrics-bom from 1.4.2 to 1.4.3 #6866
- Bump software.amazon.awssdk:cloudwatch from 2.37.5 to 2.41.4 #7011
❤️ Contributors
Thank you to all the contributors who worked on this release:
@MariusVolkhart, @etrandafir93, @izeye, @rethab, and @slovdahl