Releases: micrometer-metrics/micrometer
1.14.0-M2
This is a pre-release milestone intended for early testing. See https://github.com/micrometer-metrics/micrometer?tab=readme-ov-file#milestone-releases
⭐ New Features
- 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
🔨 Dependency Upgrades
- Bump software.amazon.awssdk:cloudwatch from 2.26.14 to 2.27.1 #5382
- Bump com.google.cloud:libraries-bom from 26.42.0 to 26.44.0 #5380
- Bump com.signalfx.public:signalfx-java from 1.0.43 to 1.0.44 #5339
- Bump com.google.cloud:google-cloud-monitoring from 3.47.0 to 3.48.0 #5338
- Bump com.netflix.spectator:spectator-reg-atlas from 1.7.14 to 1.7.17 #5333
- Bump com.google.auth:google-auth-library-oauth2-http from 1.23.0 to 1.24.0 #5332
❤️ Contributors
Thank you to all the contributors who worked on this release:
1.13.3
🐞 Bug Fixes
- Add default factoryType tag in CommonsObjectPool2Metrics #5316
- Buffered statsd lines are not published on close #2141
- Disable kotlinSourcesJar since it conflicts with sourcesJar #5151
📔 Documentation
- Make more explicit that recording a metric is safe to call #5365
🔨 Dependency Upgrades
- Bump com.fasterxml.jackson.core:jackson-databind from 2.17.1 to 2.17.2 #5364
- Bump com.gradle.develocity from 3.17.5 to 3.17.6 #5357
- Bump com.netflix.spectator:spectator-reg-atlas from 1.7.14 to 1.7.17 #5356
- Bump com.signalfx.public:signalfx-java from 1.0.43 to 1.0.44 #5362
- Bump io.netty:netty-bom from 4.1.111.Final to 4.1.112.Final #5360
- Bump io.projectreactor:reactor-bom from 2022.0.20 to 2022.0.21 #5358
- Bump jersey3 from 3.0.11 to 3.0.12 #5378
- Bump jetty9 from 9.4.54.v20240208 to 9.4.55.v20240627 #5361
- Bump org.jetbrains.kotlin.jvm from 1.9.23 to 1.9.24 #5294
📝 Tasks
- Make PrometheusMeterRegistryTest less flaky #5302
- Migrate to io.spring.develocity.conventions:0.0.19 #5312
- Apply test-retry settings to all tests #5303
❤️ Contributors
Thank you to all the contributors who worked on this release:
@izeye, @HYEONSEOK1, @BJMg, and @cbrachem
1.12.9
🐞 Bug Fixes
- Add default factoryType tag in CommonsObjectPool2Metrics #5316
- Buffered statsd lines are not published on close #2141
- Disable kotlinSourcesJar since it conflicts with sourcesJar #5151
📔 Documentation
- Make more explicit that recording a metric is safe to call #5365
🔨 Dependency Upgrades
- Bump com.amazonaws:aws-java-sdk-cloudwatch from 1.12.755 to 1.12.767 #5343
- Bump com.netflix.spectator:spectator-reg-atlas from 1.7.14 to 1.7.18 #5373
- Bump com.signalfx.public:signalfx-java from 1.0.43 to 1.0.44 #5341
- Bump jersey3 from 3.0.11 to 3.0.12 #5377
- Bump org.jetbrains.kotlin.jvm from 1.9.23 to 1.9.24 #5069
📝 Tasks
- Migrate to io.spring.develocity.conventions:0.0.19 #5312
- Apply test-retry settings to all tests #5303
- Bump org.mongodb:mongodb-driver-sync from 4.11.2 to 4.11.3 #5375
- Bump maven-resolver from 1.9.20 to 1.9.22 #5374
- Bump org.awaitility:awaitility from 4.2.1 to 4.2.2 #5372
- Bump io.netty:netty-bom from 4.1.111.Final to 4.1.112.Final #5345
- Bump com.gradle.develocity from 3.17.5 to 3.17.6 #5344
- Bump jetty9 from 9.4.54.v20240208 to 9.4.55.v20240627 #5342
- Bump io.projectreactor:reactor-bom from 2022.0.20 to 2022.0.21 #5340
❤️ Contributors
Thank you to all the contributors who worked on this release:
@HYEONSEOK1, @BJMg, and @cbrachem
1.14.0-M1
This is a milestone pre-release version intended for early testing ahead of the future 1.14.0 GA release. It is available from the milestone repository.
⭐ New Features
- 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
🔨 Dependency Upgrades
- Bump software.amazon.awssdk:cloudwatch to 2.26.14 #5278
- Bump com.signalfx.public:signalfx-java to 1.0.43 #5270
- Bump io.opentelemetry.proto:opentelemetry-proto to 1.3.2-alpha #5268
- Bump com.netflix.spectator:spectator-reg-atlas to 1.7.14 #5266
- Bump com.google.cloud:libraries-bom to 26.42.0 #5265
- Bump com.google.cloud:google-cloud-monitoring to 3.47.0 #5261
- Bump dropwizard-metrics from 4.2.25 to 4.2.26 #5209
- Bump org.hdrhistogram:HdrHistogram from 2.2.1 to 2.2.2 #5171
- Bump prometheus to 1.3.1 #5169
❤️ Contributors
Thank you to all the contributors who worked on this release:
@codesimplicity, @genuss, @izeye, @mihalyr, and @lcavadas
1.13.2
🐞 Bug Fixes
- Avoid calling naming convention on scrape #5288
- Fix histogram consistency in PrometheusMeterRegistry #5193
- Fix log to include stack trace in OtlpMeterRegistry.publish() #5141
🔨 Dependency Upgrades
- Bump software.amazon.awssdk:cloudwatch from 2.25.69 to 2.25.70 #5277
- Bump com.netflix.spectator:spectator-reg-atlas from 1.7.13 to 1.7.14 #5276
- Bump com.signalfx.public:signalfx-java from 1.0.42 to 1.0.43 #5272
❤️ Contributors
Thank you to all the contributors who worked on this release:
1.12.8
🔨 Dependency Upgrades
- Bump com.amazonaws:aws-java-sdk-cloudwatch from 1.12.739 to 1.12.755 #5284
- Bump com.netflix.spectator:spectator-reg-atlas from 1.7.13 to 1.7.14 #5250
- Bump com.signalfx.public:signalfx-java from 1.0.42 to 1.0.43 #5249
❤️ Contributors
Thank you to all the contributors who worked on this release:
1.13.1
🔨 Dependency Upgrades
- Bump dropwizard-metrics from 4.2.25 to 4.2.26 #5215
- Bump org.apache.felix:org.apache.felix.scr from 2.2.10 to 2.2.12 #5208
- Bump software.amazon.awssdk:cloudwatch from 2.25.64 to 2.25.69 #5202
- Bump org.hdrhistogram:HdrHistogram from 2.2.1 to 2.2.2 #5190
- Bump com.netflix.spectator:spectator-reg-atlas from 1.7.12 to 1.7.13 #5186
- Bump com.signalfx.public:signalfx-java from 1.0.41 to 1.0.42 #5182
❤️ Contributors
Thank you to all the contributors who worked on this release:
1.12.7
🔨 Dependency Upgrades
- Bump org.apache.felix:org.apache.felix.scr from 2.2.10 to 2.2.12 #5214
- Bump dropwizard-metrics from 4.2.25 to 4.2.26 #5204
- Bump com.amazonaws:aws-java-sdk-cloudwatch from 1.12.734 to 1.12.739 #5198
- Bump com.signalfx.public:signalfx-java from 1.0.41 to 1.0.42 #5175
- Bump com.netflix.spectator:spectator-reg-atlas from 1.7.12 to 1.7.13 #5174
1.13.0
Micrometer 1.13.0 is the GA version of a new feature release. See our support policy for support timelines and 1.13 Migration Guide for migration details.
Please take a look at the Migration Guide if you use Prometheus since there are breaking changes in the Prometheus registry if you are using the PrometheusMeterRegistry API in your code.
Below are the combined release notes of all the pre-release milestones and release candidate preceding it.
⚠️ Noteworthy
- Deprecate Jersey server instrumentation in favour of the jersey-micrometer module in Jersey #4100
- Add support for Prometheus client 1.x #4846 (please see the Migration Guide)
- Deprecate instrumentation for Jetty 9, 10, 11 that is out of support #4779
- Deprecate Hystrix instrumentation #4587
- JvmHeapPressureMetrics have incorrect base unit #3236
- Remove v1 CloudWatch module #1473
- Make DefaultHttpClientObservationConvention#INSTANCE final #4770
- Downgrade to Mockito 4 from Mockito 5 in micrometer-observation-test module #4968
- Remove unnecessary mockito dependency in micrometer-test #4963
⭐ New Features / Enhancements
- Remove unnecessary call to getConventionName in PrometheusMeterRegistry #4607
- Add log for negative amount in AbstractTimer.record() #4573
- Add response headers and trailers to gRPC observation context #4516
- Don't overwrite reserved resource attributes #4503
- Additional support for OTLP env vars #4500
- Add
database
tag toDefaultMongoCommandTagsProvider
#4298 - ObservationGrpcServerInterceptor does not store observation in a context #4218
- Deprecate Jersey server instrumentation in favour of the jersey-micrometer module in Jersey #4100
- Missing option to get response headers in GrpcServerObservationConvention #4012
- Remove metrics when shutting down InstrumentedQueuedThreadPool #4000
- Support jOOQ 3.15 and later #3828
- Allow customizing start log message in PushMeterRegistry implementations #4848
- Manage context-propagation version in micrometer-bom #4847
- Add support for Prometheus 1.x #4846
- "Failed to publish metrics to OTLP receiver" error message contains no actionable context #4829
- Support
@Counted
on classes #4746 - Publish a separate module with jdk11 classes #4728
- Make JettyClientMetrics compatible with Jetty12 #4609
- Make it possible to disable LongtaskTimer creation in DefaultMeterObservationHandler #4604
- Add Meter for process CPU time #4498
- Make Jetty server metrics work with Jetty 12 #4261
- OTLPMeterRegistry should adhere to OpenTelemetry data model for producing metrics #4053
- Asserting Observation keys and value should offer suggestions from the other cardinality bucket. #4046
- Ignore class level AOP annotation if method level present #3811
- Remove v1 CloudWatch module #1473
- Log CloudWatch metric data when publishing fails #1396
- [Dynatrace] debug log in exporter when no meters are registered #4951
- Warn when a MeterFilter is configured after a meter is registered #4917
- Allow customizing PrometheusProperties via PrometheusConfig #4875
- Add Exemplars support to Prometheus 1.x #4867
- Sanitize metric names for the Prometheus client #4866
- Add constructor with logger name for WarnThenDebugLogger #4865
- Do not re-apply MeterFilters to IDs when registering if unnecessary #4856
- Announce OtlpMeterRegistry configuration found at startup #4830
- Record Jetty bytes in/out metrics through network listeners #4514
🐞 Bug Fixes
- com.google.cloud:libraries-bom version is not pinned #4711
- BOM contains reference to unpublished docs module #4585
- [Dynatrace] Logging verbosity: Move metadata discrepancy logging to WarnThenDebug #4583
- ObservationGrpcServerCallListener does not capture an uncontrolled error during the execution of the service logic #4490
- URL decode headers from environment variables in OtlpConfig #4595
@MeterTag
does not work on package private method #4506- DefaultLongTaskTimer class throws an IllegalArgumentException when percentiles is empty #4482
- Stackdriver exception trying to publish metrics during shutdown #4353
TimeWindowMax
throwsArithmeticException
with a rotateFrequency of 0 #3068- JvmGcMetricsTest#sizeMetricsNotSetToZero is failing on CI with generational ZGC #4497
- Bug: DropwizardMeterRegistry does not remove Gauges created by LongTaskTimer #2924
- JvmHeapPressureMetrics have incorrect base unit #3236
- GC Pause time metric includes concurrent cycle time for Generational ZGC #4764
- OSGi import of javax.annotation and javax.annotation.meta is incorrect #4824
- Use Dynatrace snapshot for LongTaskTimer #4780
- CloudWatchMeterRegistry logs timeout message when there was an interrupt and does not log anything when there was a timeout #4775
- NullPointerException in DefaultJmsProcessObservationConvention #4966
- OTLP Gauge datapoint timestamp should be time at sampling #5044
- AnnotationHandler can't see methods from parent class #4983
- JettyConnectionMetrics#addToAllConnectors does not configure bytes in/out metrics #5092
- Do not set explicit unit on Prometheus 1.x Metadata #5038
- MeterRegistry#removeByPreFilterId returns null when multiple pre-filter IDs map to same ID #5035
- Use GaugeHistogram for Prometheus LongTaskTimer #4988
📔 Documentation
- Document newly supported OTLP env vars #4566
- Observat...
1.12.6
⚠️ Noteworthy
- Downgrade to Mockito 4 from Mockito 5 in micrometer-observation-test module #4968
🐞 Bug Fixes
- NullPointerException in DefaultJmsProcessObservationConvention #4966
- OTLP Gauge datapoint timestamp should be time at sampling #5044
- AnnotationHandler can't see methods from parent class #4983
🔨 Dependency Upgrades
- Bump com.amazonaws:aws-java-sdk-cloudwatch from 1.12.696 to 1.12.720 #5042 #5086
- Bump com.dynatrace.metric.util:dynatrace-metric-utils-java from 2.2.0 to 2.2.1 #5005
- Bump com.signalfx.public:signalfx-java from 1.0.40 to 1.0.41 #5000
- Bump com.netflix.spectator:spectator-reg-atlas from 1.7.11 to 1.7.12 #4994
❤️ Contributors
Thank you to all the contributors who worked on this release: