22
33## Unreleased
44
5+ ### Migration notes
6+
7+ In preparation for stabilizing HTTP library instrumentation soon:
8+
9+ - ` setEmitExperimental* ` methods in ` *TelemetryBuilder ` classes have been deprecated and moved
10+ to internal/experimental classes, see Javadoc ` @deprecated ` for exact relocation
11+ ([ #12847 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12847 ) )
12+ - ` ApacheHttpClient5* ` classes have been deprecated and renamed to ` ApacheHttpClient* `
13+ ([ #12854 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12854 ) )
14+ - ` RatpackTelemetry* ` classes have been deprecated and split into ` RatpackClientTelemetry* `
15+ and ` RatpackServerTelemetry* `
16+ ([ #12853 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12853 ) )
17+ - ` SpringWebfluxTelemetry* ` classes have been deprecated and split into
18+ ` SpringWebfluxClientTelemetry* ` and ` SpringWebfluxServerTelemetry* `
19+ ([ #12852 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12852 ) )
20+ - ` ArmeriaTelemetry* ` classes have been deprecated and split into ` ArmeriaClientTelemetry* `
21+ and ` ArmeriaServerTelemetry* `
22+ ([ #12851 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12851 ) )
23+
524## Version 2.10.0 (2024-11-13)
625
726### 🌟 New javaagent instrumentation
5372 ([ #12511 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12511 ) )
5473- Fix lettuce instrumentation and tests to pass against latest version
5574 ([ #12552 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12552 ) )
56- - Fix Kafka initialization occasionally failed due to concurrent injection of OpenTelemetryMetricsReporter
75+ - Fix Kafka initialization occasionally failed due to concurrent injection of
76+ OpenTelemetryMetricsReporter
5777 ([ #12583 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12583 ) )
5878
5979## Version 2.9.0 (2024-10-17)
87107 ([ #12265 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12265 ) )
88108- Spring Boot Starter: Add auto configuration for spring scheduling instrumentation
89109 ([ #12438 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12438 ) )
90- - Extract ` APIGatewayProxyRequestEvent ` headers for context propagation in AWS Lambda instrumentation
110+ - Extract ` APIGatewayProxyRequestEvent ` headers for context propagation in AWS Lambda
111+ instrumentation
91112 ([ #12440 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12440 ) )
92113- Support JMX state metrics
93114 ([ #12369 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12369 ) )
122143 If you are using the Java agent, this only affects you if you are opting in via
123144 ` otel.instrumentation.runtime-telemetry-java17.enable-all=true ` .
124145 ([ #12084 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12084 ) ,
125- [ #12244 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12244 ) )
146+ [ #12244 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12244 ) )
126147
127148### 📈 Enhancements
128149
155176 ([ #12121 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12121 ) )
156177- Fix error span status for successful requests in Ktor
157178 ([ #12161 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12161 ) )
158- - Make OpenTelemetryHandlerMappingFilter handle exceptions from ` ServletRequestPathUtils.parseAndCache() `
179+ - Make OpenTelemetryHandlerMappingFilter handle exceptions from
180+ ` ServletRequestPathUtils.parseAndCache() `
159181 ([ #12221 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12221 ) )
160182- Fix tracing CoroutineCrudRepository.findById
161183 ([ #12131 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/12131 ) )
181203 ([ #11926 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/11926 ) )
182204- Ignore Alibaba fastjson ASMClassLoader
183205 ([ #11954 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/11954 ) )
184- - Use ` aws-lambda-java-serialization ` library, which is available by default, while deserializing input and serializing output
206+ - Use ` aws-lambda-java-serialization ` library, which is available by default, while deserializing
207+ input and serializing output
185208 ([ #11868 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/11868 ) )
186209- Logback appender: map timestamp in nanoseconds if possible
187210 ([ #11974 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/11974 ) )
@@ -444,7 +467,8 @@ The Spring Boot Starter (`opentelemetry-spring-boot-starter`) is now stable.
444467 ([ #10887 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/10887 ) )
445468- Fix spring kafka interceptor wrappers not delegating some methods
446469 ([ #10935 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/10935 ) )
447- - AWS Lambda Runtime legacy internal handlers need to be ignored from being instrumented and so traced …
470+ - AWS Lambda Runtime legacy internal handlers need to be ignored from being instrumented and so
471+ traced …
448472 ([ #10942 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/10942 ) )
449473- Metro: ignore UnsupportedOperationException when updating span name
450474 ([ #10996 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/10996 ) )
@@ -571,14 +595,15 @@ The Spring Boot Starter (`opentelemetry-spring-boot-starter`) is now stable.
571595 ` otel.instrumentation.http.client.emit-experimental-telemetry `
572596 - ` otel.instrumentation.http.server.emit-experimental-metrics ` ->
573597 ` otel.instrumentation.http.server.emit-experimental-telemetry `
574- ([ #10349 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/10349 ) )
598+ ([ #10349 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/10349 ) )
575599- The deprecated Jaeger exporter has been removed
576600 ([ #10241 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/10241 ) )
577601- Actuator instrumentation has been disabled by default.
578602 You can enable using ` OTEL_INSTRUMENTATION_SPRING_BOOT_ACTUATOR_AUTOCONFIGURE_ENABLED=true `
579603 or ` -Dotel.instrumentation.spring-boot-actuator-autoconfigure.enabled=true ` .
580604 ([ #10394 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/10394 ) )
581- - Spring starter: removed support for the deprecated @io .opentelemetry.extension.annotations.WithSpan
605+ - Spring starter: removed support for the deprecated
606+ @io .opentelemetry.extension.annotations.WithSpan
582607 annotation. Use @io .opentelemetry.instrumentation.annotations.WithSpan annotation instead.
583608 ([ #10530 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/10530 ) )
584609
@@ -681,7 +706,7 @@ The Spring Boot Starter (`opentelemetry-spring-boot-starter`) is now stable.
681706
682707- Backport: update jackson packages to v2.16.1
683708 ([ #10198 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/10198 ) ,
684- [ #10199 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/10199 ) )
709+ [ #10199 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/10199 ) )
685710- Backport: implement forEach support for aws sqs tracing list
686711 ([ #10195 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/10195 ) )
687712- Backport: Bridge metric advice in OpenTelemetry API 1.32
@@ -695,7 +720,8 @@ The Spring Boot Starter (`opentelemetry-spring-boot-starter`) is now stable.
695720 ([ #10204 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/10204 ) )
696721- Backport: Null check for nullable response object in aws sdk 1.1 instrumentation
697722 ([ #10029 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/10029 ) )
698- - Backport: Make Netty Instrumentation HttpServerRequestTracingHandler propagate "Channel Inactive" event to downstream according to parent contract
723+ - Backport: Make Netty Instrumentation HttpServerRequestTracingHandler propagate "Channel Inactive"
724+ event to downstream according to parent contract
699725 ([ #10303 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/10303 ) )
700726- Backport: Fix Netty addListener instrumentation
701727 ([ #10254 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/10254 ) )
@@ -755,8 +781,10 @@ too disruptive to adopt right away.
755781 - ` process.runtime.jvm.classes.current_loaded ` renamed to ` jvm.classes.count `
756782 - CPU metrics
757783 - ` process.runtime.jvm.cpu.utilization ` renamed to ` jvm.cpu.recent_utilization `
758- - ` process.runtime.jvm.system.cpu.load_1m ` renamed to ` jvm.system.cpu.load_1m ` (still experimental)
759- - ` process.runtime.jvm.system.cpu.utilization ` renamed to ` jvm.system.cpu.utilization ` (still experimental)
784+ - ` process.runtime.jvm.system.cpu.load_1m ` renamed to ` jvm.system.cpu.load_1m ` (still
785+ experimental)
786+ - ` process.runtime.jvm.system.cpu.utilization ` renamed to ` jvm.system.cpu.utilization ` (still
787+ experimental)
760788 - Buffer metrics
761789 - ` process.runtime.jvm.buffer.limit ` renamed to ` jvm.buffer.memory.limit ` (still experimental)
762790 - ` process.runtime.jvm.buffer.count ` renamed to ` jvm.buffer.count ` (still experimental)
@@ -857,7 +885,8 @@ too disruptive to adopt right away.
857885 ([ #9698 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9698 ) )
858886- Generate only consumer span for sqs receive message
859887 ([ #9652 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9652 ) )
860- - Replace ` (client|server).socket.(address|port) ` attributes with ` network.(peer|local).(address|port) `
888+ - Replace ` (client|server).socket.(address|port) ` attributes with
889+ ` network.(peer|local).(address|port) `
861890 (when opting in to new semconv)
862891 ([ #9676 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9676 ) )
863892- Add capability for invokedynamic InstrumentationModules to inject proxies
@@ -885,7 +914,7 @@ too disruptive to adopt right away.
885914 ([ #9774 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9774 ) )
886915- Move capturing enduser.id attribute behind a flag
887916 ([ #9751 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9751 ) ,
888- [ #9788 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9788 ) )
917+ [ #9788 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9788 ) )
889918- Remove conditional requirement on ` network.peer.address ` and ` network.peer.port `
890919 (when opting in to new semconv)
891920 ([ #9775 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9775 ) )
@@ -895,7 +924,8 @@ too disruptive to adopt right away.
895924- Make ` url.scheme ` opt in for HTTP client metrics and make ` server.port ` required
896925 (when opting in to new semconv)
897926 ([ #9784 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9784 ) )
898- - Change ` http.request.body.size ` and ` http.response.body.size ` attributes from recommended to opt-in
927+ - Change ` http.request.body.size ` and ` http.response.body.size ` attributes from recommended to
928+ opt-in
899929 (when opting in to new semconv)
900930 ([ #9799 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9799 ) )
901931- Capture ` http.route ` in spring-cloud-gateway
@@ -1049,11 +1079,11 @@ too disruptive to adopt right away.
10491079 ([ #9335 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9335 ) )
10501080- More support for upcoming semantic convention changes
10511081 ([ #9346 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9346 )
1052- [ #9345 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9345 ) ,
1053- [ #9320 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9320 ) ,
1054- [ #9355 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9355 ) ,
1055- [ #9381 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9381 ) ,
1056- [ #9441 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9441 ) )
1082+ [ #9345 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9345 ) ,
1083+ [ #9320 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9320 ) ,
1084+ [ #9355 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9355 ) ,
1085+ [ #9381 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9381 ) ,
1086+ [ #9441 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9441 ) )
10571087- Unwrap Runnable in ThreadPoolExecutor before/after methods
10581088 ([ #9326 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9326 ) )
10591089- Add javaagent to instrumentation bom
@@ -1101,16 +1131,16 @@ too disruptive to adopt right away.
11011131- ` NetClientAttributesExtractor ` and ` NetServerAttributesExtractor `
11021132 have been deprecated
11031133 ([ #9165 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9165 ) ,
1104- [ #9156 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9156 ) )
1134+ [ #9156 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9156 ) )
11051135- ` HttpClientAttributesGetter ` now extends ` NetClientAttributesGetter `
11061136 and ` HttpServerAttributesGetter ` extends ` NetServerAttributesGetter `
11071137 ([ #9015 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9015 ) ,
1108- [ #9088 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9088 ) )
1138+ [ #9088 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9088 ) )
11091139- A couple of Spring starter configuration options have been renamed to match Java agent options:
11101140 - ` otel.springboot.httpclients.enabled ` -> ` otel.instrumentation.spring-webmvc.enabled `
11111141 or ` otel.instrumentation.spring-webmvc.enabled ` depending on the underlying http client
11121142 - ` otel.springboot.aspects.enabled ` -> ` otel.instrumentation.annotations.enabled `
1113- ([ #8950 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8950 ) )
1143+ ([ #8950 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8950 ) )
11141144- Previously deprecated suppression key ` executor ` was removed from executors module,
11151145 the new suppression key is ` executors `
11161146 ([ #9064 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/9064 ) )
@@ -1354,7 +1384,8 @@ too disruptive to adopt right away.
13541384
13551385### Migration notes
13561386
1357- - ` java.util.concurrent ` executors instrumentation suppression key has changed from ` executor ` to ` executors `
1387+ - ` java.util.concurrent ` executors instrumentation suppression key has changed from ` executor ` to
1388+ ` executors `
13581389 ([ #8451 ] ( https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/8451 ) )
13591390
13601391### 🌟 New javaagent instrumentation
0 commit comments