22
33## Unreleased
44
5- This release targets the OpenTelemetry SDK 1.61.0.
6-
7- Note that many artifacts have the ` -alpha ` suffix attached to their version
8- number, reflecting that they will continue to have breaking changes.
9- Please see the [ VERSIONING.md] ( VERSIONING.md#opentelemetry-java-instrumentation-versioning )
10- for more details.
11-
125### ⚠️ Breaking changes to non-stable APIs
136
147- Make ` AbstractKtorServerTelemetryBuilder.isOpenTelemetryInitialized() ` protected (previously
@@ -30,7 +23,7 @@ for more details.
3023- Deprecated GraphQL builder methods ` setSanitizeQuery() ` and ` setAddOperationNameToSpanName() ` , and
3124 deprecated config key ` otel.instrumentation.graphql.add-operation-name-to-span-name.enabled ` in
3225 favor of ` setQuerySanitizationEnabled() ` , ` setOperationNameInSpanNameEnabled() ` , and
33- ` otel.instrumentation.graphql.operation-name-in-span-name.enabled `
26+ ` otel.instrumentation.graphql.operation-name-in-span-name.enabled ` .
3427 ([ #17093 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/17093 ) )
3528- Deprecate ` Experimental.setEnableSqlCommenter() ` in JDBC and R2DBC instrumentation in favor of
3629 ` Experimental.setSqlCommenterEnabled() ` .
@@ -44,7 +37,7 @@ for more details.
4437- Deprecated the declarative config name ` statement_sanitizer ` in favor of ` query_sanitization ` , and
4538 the declarative config group ` common.database ` in favor of ` common.db ` .
4639 ([ #17116 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/17116 ) )
47- - Deprecated the GraphQL declarative config name ` query_sanitizer ` in favor of ` query_sanitization `
40+ - Deprecated the GraphQL declarative config name ` query_sanitizer ` in favor of ` query_sanitization ` .
4841 ([ #17455 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/17455 ) )
4942- Deprecated the DB query sanitization system property names
5043 ` otel.instrumentation.common.db-statement-sanitizer.enabled ` ,
@@ -55,7 +48,7 @@ for more details.
5548 ` otel.instrumentation.common.experimental.db-sqlcommenter.enabled ` in favor of
5649 ` otel.instrumentation.common.db.experimental.sqlcommenter.enabled ` , and deprecated
5750 ` otel.instrumentation.graphql.query-sanitizer.enabled ` in favor of
58- ` otel.instrumentation.graphql.query-sanitization.enabled `
51+ ` otel.instrumentation.graphql.query-sanitization.enabled ` .
5952 ([ #17464 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/17464 ) )
6053- Deprecate ` InstrumentationModule.isIndyModule() ` ; indy mode is now determined by the agent
6154 distribution configuration instead of per-module overrides.
@@ -101,14 +94,13 @@ for more details.
10194- Preserve original casing of servlet request parameter names in attribute keys when
10295 ` otel.instrumentation.common.v3-preview ` is enabled.
10396 ([ #17822 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/17822 ) )
104- - Fix warning printed on JDK 26 about changing the value of a final field with reflection.
97+ - Replace reflective mutation of Byte Buddy's ` AgentBuilder.Default.transformations ` with a
98+ ` ClassFileTransformer ` hook, avoiding a JDK 26 JEP 500 warning about writing to a final field
99+ via reflection.
105100 ([ #17824 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/17824 ) )
106101- Add javaagent bridging support for OpenTelemetry API 1.61 stable methods including
107- ` Tracer.isEnabled() ` , metric instrument ` isEnabled() ` , and ` Logger.setBody(Body) `
102+ ` Tracer.isEnabled() ` , metric instrument ` isEnabled() ` , and ` Logger.setBody(Body) ` .
108103 ([ #17849 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/17849 ) )
109- - Align RMI context propagation limits with Tomcat defaults, reducing max entries from 1000 to 100
110- and adding an 8 KB total size limit to prevent excessively large payloads.
111- ([ #17870 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/17870 ) )
112104
113105### 🛠️ Bug fixes
114106
@@ -188,6 +180,9 @@ for more details.
188180- Fix ` ClassNotFoundException ` in ` MicrometerBridgeAutoConfiguration ` when Spring Boot Actuator
189181 metrics module is not on the classpath in Spring Boot 4.
190182 ([ #17723 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/17723 ) )
183+ - Align RMI context propagation limits with Tomcat defaults, reducing max entries from 1000 to 100
184+ and adding an 8 KB total size limit to prevent excessively large payloads.
185+ ([ #17870 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/17870 ) )
191186- Fix runtime-telemetry unconditionally enabling experimental JFR-based metrics when
192187 ` otel.instrumentation.runtime-telemetry.emit-experimental-metrics=true ` , which could impose
193188 unwanted JFR recording overhead on users who only wanted the JMX-based experimental metrics.
0 commit comments