⚠️ Noteworthy
- Deprecate Jersey server instrumentation in favour of the jersey-micrometer module in Jersey #4100
⭐ 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
🐞 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
📔 Documentation
- Document newly supported OTLP env vars #4566
- Observation API bird's eye view #4726
- Replace full urls to xref wherever it is possible #4714
- Update docs with changes from old docs site #4611
- Reference doc update for tomcat #4599
- Reference doc update for system #4598
- Reference doc update for mongodb #4594
- Reference doc update for logging #4593
- Reference doc update for Kafka #4592
- Reference doc update for OkHttp #4586
- Added Jetty reference doc #4584
- HttpClient reference documentation #4579
- gRPC reference documentation #4575
- Database reference documentation #4574
- Added examples of Apache Commons Pool #4570
- Added examples of cache usage #4569
- Clarify time window length in documentation #4625
🔨 Dependency Upgrades
- Bump org.junit.platform:junit-platform-launcher from 1.10.1 to 1.10.2 #4743
- Bump software.amazon.awssdk:cloudwatch from 2.23.17 to 2.23.21 #4740
- Bump com.google.auth:google-auth-library-oauth2-http from 1.22.0 to 1.23.0 #4732
- Bump com.amazonaws:aws-java-sdk-cloudwatch from 1.12.651 to 1.12.655 #4731
- Bump com.amazonaws:aws-java-sdk-cloudwatch from 1.12.650 to 1.12.651 #4723
- Bump software.amazon.awssdk:cloudwatch from 2.23.16 to 2.23.17 #4720
- Bump com.dynatrace.metric.util:dynatrace-metric-utils-java from 2.1.0 to 2.2.0 #4719
- Bump com.netflix.spectator:spectator-reg-atlas from 1.7.4 to 1.7.7 #4718
- Bump io.grpc:grpc-kotlin-stub from 1.4.0 to 1.4.1 #4717
- Bump com.google.cloud:google-cloud-monitoring from 3.32.0 to 3.35.0 #4709
- Bump org.assertj:assertj-core from 3.25.0 to 3.25.2 #4708
- Bump org.mockito:mockito-core from 5.8.0 to 5.10.0 #4707
- Bump activemq-artemis from 2.31.2 to 2.32.0 #4705
- Bump org.aspectj:aspectjweaver from 1.9.20.1 to 1.9.21 #4702
- Bump com.jayway.jsonpath:json-path from 2.8.0 to 2.9.0 #4701
- Bump com.diffplug.spotless:spotless-plugin-gradle from 6.23.3 to 6.25.0 #4699
- Bump software.amazon.awssdk:cloudwatch from 2.22.9 to 2.23.16 #4698
- Bump org.apache.httpcomponents.client5:httpclient5 from 5.3 to 5.3.1 #4697
- Bump org.apache.logging.log4j:log4j-core from 2.22.0 to 2.22.1 #4695
- Bump org.gradle.toolchains.foojay-resolver-convention from 0.7.0 to 0.8.0 #4694
- Bump com.amazonaws:aws-java-sdk-cloudwatch from 1.12.649 to 1.12.650 #4692
- Bump com.google.auth:google-auth-library-oauth2-http from 1.20.0 to 1.22.0 #4671
- Bump com.fasterxml.jackson.core:jackson-databind from 2.16.0 to 2.16.1 #4670
- Bump testcontainers from 1.19.3 to 1.19.4 #4669
- Bump com.amazonaws:aws-java-sdk-cloudwatch from 1.12.629 to 1.12.649 #4666
- Bump dropwizard-metrics from 4.2.23 to 4.2.25 #4663
- Bump io.opentelemetry.proto:opentelemetry-proto from 1.0.0-alpha to 1.1.0-alpha #4660
- Downgrade okhttp to 4.11.0 upgrade Kotlin to 1.9 #4597
- Bump org.apache.tomcat.embed:tomcat-embed-core from 8.5.96 to 8.5.97 #4541
- Bump dagger from 2.49 to 2.50 #4537
- Bump org.assertj:assertj-core from 3.24.2 to 3.25.0 #4535
- Bump io.netty:netty-bom from 4.1.101.Final to 4.1.104.Final #4533
- Bump software.amazon.awssdk:cloudwatch from 2.21.41 to 2.22.9 #4531
- Bump com.gradle.enterprise from 3.16 to 3.16.1 #4530
- Bump com.google.cloud:google-cloud-monitoring from 3.31.0 to 3.32.0 #4477
- Bump com.diffplug.spotless:spotless-plugin-gradle from 6.22.0 to 6.23.3 #4476
- Bump io.rest-assured:rest-assured from 5.3.2 to 5.4.0 #4475
- Bump com.gradle.enterprise from 3.15.1 to 3.16 #4474
- Bump org.postgresql:postgresql from 42.6.0 to 42.7.1 #4473
- Bump org.apache.httpcomponents.client5:httpclient5 from 5.2.1 to 5.3 #4470
- Bump software.amazon.awssdk:cloudwatch from 2.21.27 to 2.21.41 #4464
- Bump org.mockito:mockito-core from 5.7.0 to 5.8.0 #4442
- Bump dagger from 2.48.1 to 2.49 #4441
- Bump maven-resolver from 1.9.16 to 1.9.18 #4439
- Bump org.apache.logging.log4j:log4j-core from 2.21.1 to 2.22.0 #4438
- Bump testcontainers from 1.19.2 to 1.19.3 #4435
- Bump com.amazonaws:aws-java-sdk-cloudwatch from 1.12.586 to 1.12.593 #4400
- Bump com.netflix.spectator:spectator-reg-atlas from 1.7.2 to 1.7.3 #4398
- Bump uk.org.webcompere:system-stubs-jupiter from 2.1.4 to 2.1.5 #4390
- Bump io.projectreactor:reactor-bom from 2022.0.12 to 2022.0.13 #4383
- Bump com.fasterxml.jackson.core:jackson-databind from 2.15.3 to 2.16.0 #4375
- Bump spring from 5.3.30 to 5.3.31 #4373
- Bump testcontainers from 1.19.1 to 1.19.2 #4367
- Bump com.google.cloud:google-cloud-monitoring from 3.30.0 to 3.31.0 #4349
📝 Tasks
- Bump org.assertj:assertj-core from 3.25.2 to 3.25.3 #4744
- Bump junit from 5.10.1 to 5.10.2 #4741
- Bump testcontainers from 1.19.4 to 1.19.5 #4733
- Update gRPC trailers metadata consumption by observation context #4612
- Bump org.junit.platform:junit-platform-launcher from 1.10.1 to 1.10.2 #4738
- Bump junit from 5.10.1 to 5.10.2 #4737
- Remove usage of deprecated deploy step in CircleCI config #4562
- Upgrade to logback-classic 1.4.14 #4712
- Upgrade CI machine image to ubuntu-2204:2024.01.1 #4631
- Upgrade CI image JDK to 8.0.402, 11.0.22, 17.0.10, 21.0.2 #4630
- Add sample for MultiGauge #4618
- Enable whenConnectionCheckedInAfterPoolClose_thenNoExceptionThrown() #4603
- Clarify complete expiry of distribution statistics in Javadoc #4581
- Remove JDK 19-specific tests in TagsTest #4512
- Use LongAdder in CumulativeTimer and CumulativeDistributionSummary #4496
❤️ Contributors
Thank you to all the contributors who worked on this release:
@izeye, @MartinUhlen, @zeitlinger, @pirgeo, @nathankooij, @ttddyy, and @wakingrufus