Releases: micrometer-metrics/micrometer
1.15.0-M1
⚠️ Noteworthy
- Do not leak OTLP types on public-facing API #5699
⭐ New Features / Enhancements
- Make jvm.classes.unloaded description generic #5745
- Use String.toLowerCase()/toUpperCase() with Locale.ROOT consistently #5711
- Use failWithActualExpectedAndMessage() where possible #5696
- Provide target host/port info in ObservationExecChainHandler when HttpHostConnectException is thrown #5615
- Enable Gauge builders to take a subclass of Number #5601
- micrometer-observation-test support for assertions on events #5576
- Log delta count in addition to throughput in LoggingMeterRegistry #5548
- Add peer name and port to gRPC observation contexts #3512
🐞 Bug Fixes
- Handle RuntimeException when getting/setting JMS headers #5746
- NPE occurs when AOP is applied to a method that returns CompletableFuture #5741
- Performance regression in
MeterRegistry#remove
with many meters #5466 - Exponential histogram throws ArrayIndexOutOfBoundsException #5740
- Do not leak OTLP types on public-facing API #5699
🔨 Dependency Upgrades
- Bump software.amazon.awssdk:cloudwatch from 2.29.7 to 2.29.46 #5801
- Upgrade opentelemetry-proto to 1.4.0-alpha #5698
- Bump io.opentelemetry.proto:opentelemetry-proto from 1.4.0-alpha to 1.5.0-alpha #5798
- Bump com.netflix.spectator:spectator-reg-atlas from 1.8.1 to 1.8.3 #5797
- Bump com.google.auth:google-auth-library-oauth2-http from 1.29.0 to 1.30.1 #5779
- Bump com.google.cloud:google-cloud-monitoring from 3.54.0 to 3.56.0 #5776
- Bump org.jooq:jooq from 3.19.15 to 3.19.16 #5769
- Bump io.prometheus:prometheus-metrics-bom from 1.3.3 to 1.3.5 #5766
- Bump com.google.cloud:libraries-bom from 26.50.0 to 26.52.0 #5764
- Bump dropwizard-metrics from 4.2.28 to 4.2.29 #5712
📔 Documentation
- Polish gh-5751 #5760
- Improve docs for same name with different tags #5751
- Document no support for meta-annotations with
@Timed
/@Counted
#5737 - Remove outdated warnings in docs for
@Counted
/@Timed
#5736
❤️ Contributors
Thank you to all the contributors who worked on this release:
@cfredri4, @izeye, @ngocnhan-tran1996, @s-ste, and @ttddyy
1.14.3
🐞 Bug Fixes
- Handle RuntimeException when getting/setting JMS headers #5746
- NPE occurs when AOP is applied to a method that returns CompletableFuture #5741
- Performance regression in
MeterRegistry#remove
with many meters #5466 - Exponential histogram throws ArrayIndexOutOfBoundsException #5740
🔨 Dependency Upgrades
- Bump com.netflix.spectator:spectator-reg-atlas from 1.8.2 to 1.8.3 #5799
- Bump software.amazon.awssdk:cloudwatch from 2.29.23 to 2.29.46 #5795
- Bump io.prometheus:prometheus-metrics-bom from 1.3.4 to 1.3.5 #5783
📔 Documentation
- Polish gh-5751 #5760
- Improve docs for same name with different tags #5751
- Document no support for meta-annotations with
@Timed
/@Counted
#5737 - Remove outdated warnings in docs for
@Counted
/@Timed
#5736
❤️ Contributors
Thank you to all the contributors who worked on this release:
1.13.10
🐞 Bug Fixes
- Handle RuntimeException when getting/setting JMS headers #5746
- NPE occurs when AOP is applied to a method that returns CompletableFuture #5741
- Performance regression in
MeterRegistry#remove
with many meters #5466
📔 Documentation
- Polish gh-5751 #5760
- Improve docs for same name with different tags #5751
- Document no support for meta-annotations with
@Timed
/@Counted
#5737 - Remove outdated warnings in docs for
@Counted
/@Timed
#5736
❤️ Contributors
Thank you to all the contributors who worked on this release:
1.14.2
🐞 Bug Fixes
- Protect against concurrent reads/writes to Context keyvalues #5739
- Null stacktrace in InvalidObservationException using Virtual Threads #5702
- Deprecate AggregationTemporality#toOtlpAggregationTemporality #5733
- Warn about gauge re-registration #5688
executor.queued
metrics of ForkJoinPool does not include queued submissions #5650- Default ObservationConventions for Grpc do not always use a consistent set of keyvalues #5609
🔨 Dependency Upgrades
- Bump software.amazon.awssdk:cloudwatch from 2.29.14 to 2.29.23 #5724
- Bump io.prometheus:prometheus-metrics-bom from 1.3.3 to 1.3.4 #5723
- Bump dropwizard-metrics from 4.2.28 to 4.2.29 #5721
📔 Documentation
- Remove duplicated contextpropagation.adoc #5693
- Polish "Grafana Dashboard" section #5662
- Use BOM for Micrometer dependency examples in reference docs #5652
❤️ Contributors
Thank you to all the contributors who worked on this release:
1.13.9
🐞 Bug Fixes
- Deprecate AggregationTemporality#toOtlpAggregationTemporality #5733
- Warn about gauge re-registration #5688
executor.queued
metrics of ForkJoinPool does not include queued submissions #5650- Default ObservationConventions for Grpc do not always use a consistent set of keyvalues #5609
🔨 Dependency Upgrades
- Bump dropwizard-metrics from 4.2.28 to 4.2.29 #5726
📔 Documentation
- Remove duplicated contextpropagation.adoc #5693
- Polish "Grafana Dashboard" section #5662
- Use BOM for Micrometer dependency examples in reference docs #5652
❤️ Contributors
Thank you to all the contributors who worked on this release:
1.14.1
📔 Documentation
- Gauges may be silently ignored when MeterFilters drop or transform tags #5616
🔨 Dependency Upgrades
- Bump com.netflix.spectator:spectator-reg-atlas from 1.8.1 to 1.8.2 #5685
- Bump software.amazon.awssdk:cloudwatch from 2.29.7 to 2.29.14 #5669
- Bump shaded netty to 4.1.115.Final in micrometer-registry-statsd to address CVE-2024-47535 #5660
❤️ Contributors
Thank you to all the contributors who worked on this release:
1.13.8
📔 Documentation
- Gauges may be silently ignored when MeterFilters drop or transform tags #5616
🔨 Dependency Upgrades
- Bump shaded netty to 4.1.115.Final in micrometer-registry-statsd to address CVE-2024-47535 #5660
❤️ Contributors
Thank you to all the contributors who worked on this release:
1.12.13
1.14.0
Micrometer 1.14.0 is the GA version of a new feature release. See our support policy for support timelines.
Below are the combined release notes of all the pre-release milestones and release candidate preceding this GA release.
⚠️ Noteworthy
- Support ExponentialHistogram in OTLP #3861
- Virtual thread metrics #3956
- Validate expected Observation API call ordering on TestObservationRegistry #5239
⭐ New Features / Enhancements
- Expose TestObservationRegistry as an AssertJ AssertProvider #5551
- Use failure with actual and expected message to improve IDE experience for ObservationContextAssert #5550
- Replace
@Nonnull
(when = When.MAYBE) with@CheckForNull
in@Nullable
#5485 - Warn about Prometheus meter registration failure #5228
- Improve performance of merging two
Tags
/KeyValues
instances #5140 - Allow user-provided custom scheduler for periodically binding KafkaMetrics #4976
- Allow specifying the meterNameConsumer for HighCardinalityTagsDetector #4028
- Virtual thread metrics #3956
- Allow tagsBasedOnJoinPoint to override extraTags with CountedAspect #2461
- Configurable _source.enabled Elastic mapping property #1629
- Skip registering Caffeine meters when statistics are not enabled #5409
- Log a warning when instrumenting a cache that is not recording stats in CaffeineCacheMetrics #5402
- MultiGauge.register should accept more types #5390
- Metrics not collected after ExecutorService recreation #5366
- Add "cancelled" information to the GrpcServerObservationContext #5301
- process_start_time_seconds HELP description inconsistency between Prometheus and micrometer #5290
- Add history-tracking to ObservationValidator #5370
- [dynatrace/v2] reduce log verbosity #5306
- Validate expected Observation API call ordering on TestObservationRegistry #5239
- Add JvmThreadDeadlockMetrics #5222
- Allow multiple MeterTag annotations for multiple tags from same target #4081
- Support ExponentialHistogram in OTLP #3861
- Expose ForkJoinPool parallelism and pool size metrics #5236
- Allow custom ThreadFactory for OtlpMeterRegistry #5153
- Do not register GC metrics when GC notifications are unavailable #5149
- Cancelled status code not reported in the gRPC server metrics #5109
- Add counter of failed attempts to retrieve a connection from the pool #5057
- Add Support for
@MeterTag
to@Counted
#4725 - Compile-time weaving support for aspects #1149
- Service level objectives support on
@Timed
annotation #5145
📔 Documentation
- Add docs for ObservationValidator #5387
- Add docs for multiple MeterTag annotations #5641
- Add docs for
@MeterTag
for@Counted
#5640 - Add docs for JvmThreadDeadlockMetrics #5614
- Add docs for ForkJoinPool parallelism and pool size metrics #5611
- Add docs for VirtualThreadMetrics #5610
🔨 Dependency Upgrades
- Bump io.prometheus:prometheus-metrics-bom to 1.3.3 #5649
- Bump software.amazon.awssdk:cloudwatch to 2.29.7 #5645
- Bump com.google.cloud:libraries-bom to 26.50.0 #5638
- Bump com.signalfx.public:signalfx-java to 1.0.47 #5635
- Bump com.google.auth:google-auth-library-oauth2-http to 1.29.0 #5634
- Bump software.amazon.awssdk:cloudwatch to 2.29.6 #5631
- Bump com.netflix.spectator:spectator-reg-atlas to 1.8.1 #5630
- Bump com.google.cloud:google-cloud-monitoring to 3.54.0 #5628
- Bump dropwizard-metrics to 4.2.28 #5569
- Bump io.opentelemetry.proto:opentelemetry-proto to 1.3.2-alpha #5268
- Bump org.hdrhistogram:HdrHistogram to 2.2.2 #5171
❤️ Contributors
Thank you to all the contributors who worked on this release:
@codesimplicity, @genuss, @izeye, @mihalyr, @lcavadas, @filiphr, @sean-heller, @vasiliy-sarzhynskyi, @ArtyomGabeev, @kinddevil, @mstyura, @madhead, @pirgeo, @rkurniawati, @lenin-jaganathan, @smaxx
1.13.7
🐞 Bug Fixes
- Native Image Hazelcast error: java.lang.NoSuchMethodError: com.hazelcast.map.IMap.getName() #5604
📔 Documentation
- Add documentation for
@Counted
#5613
🔨 Dependency Upgrades
- Bump com.signalfx.public:signalfx-java from 1.0.46 to 1.0.47 #5623
- Bump com.fasterxml.jackson.core:jackson-databind from 2.17.2 to 2.17.3 #5622
📝 Tasks
- Enable japicmp task for micrometer-registry-statsd #5612
- Improve UCUM time unit mapping for Dynatrace #5594
❤️ Contributors
Thank you to all the contributors who worked on this release: