Version 8.20.0
New features and improvements
-
Support for CRaC 2250
-
Support for JDK24 2284
-
Add sampling options when an inbound traceparent exists 2279
- These options define how the agent should handle sampling of spans, depending on sampling decisions that were made for their parent span by an upstream entity. The configuration options
remote_parent_sampled
andremote_parent_not_sampled
specify what to do in the case the parent span was sampled or not sampled, respectively. See the documentation for full configuration details.
- These options define how the agent should handle sampling of spans, depending on sampling decisions that were made for their parent span by an upstream entity. The configuration options
-
Support for Undertow as a stand-alone module 2269
- This instrumentation is disabled by default to avoid conflicts with existing Wildfly instrumentation. To enable this instrumentation for stand-alone Undertow server apps, use the configuration setting:
class_transformer: com.newrelic.instrumentation.undertow-server-1.1.0: enabled: true
-
Support for Couchbase Client 2203
- If the Couchbase Client Experimental Module is currently in use, remove it from your extensions directory before upgrading to this version of the Java Agent.
Fixes
-
Fix netty 'Unknown' transactions 2274
- This fix moves previous netty instrumentation changes behind a feature flag, which provides additional visibility in some cases involving HTTP2 transactions. To reenable this granularity (at the possible cost of seeing ‘Unknown’ transactions), use the config setting:
netty: http2: frame_read_listener: start_transaction: true
-
Refactor AWS docker id fetch to use 5s timeout 2275
-
Feature flag to apply Kotlin
ArrayIndexOutOfBoundsException
fix to all methods 2307- This fix addresses errors that may be seen when running the Java Agent in an environment where Kotlin suspends functions are used. To use this fix, set the system property
-Dnewrelic.config.class_transformer.clear_return_stacks=true
- This fix addresses errors that may be seen when running the Java Agent in an environment where Kotlin suspends functions are used. To use this fix, set the system property
-
Prevent cache lock for long DB statement parsing 2294
-
Add config to specify whether java.sql is loaded by platform classloader 2267
Deprecations
The following instrumentation modules are deprecated and will be removed in the next major release:
aws-wrap-0.7.0
java.completable-future-jdk8
play-2.3
netty-3.4
Struts v1
New Contributors
- @gsidhwani-nr made their first contribution in #2280
Full Changelog: v8.19.0...v8.20.0