OpenTelemetry - java Instrumentation
Notes
no notes yet
Release notes
v1.32.0
· 1y+
This release targets the OpenTelemetry SDK 1.32.0.
Note that many artifacts have the -alpha suffix attached to their version number, reflecting that they are still alpha quality and will continue to have breaking changes. Please see the VERSIONING.md for more details.
Migration notes
- Old server/client socket getter methods deprecated (#9716)
📈 Enhancements
- Allow enabling receive telemetry in kafka library instrumentation (#9693)
- Add JdbcTelemetry and JdbcTelemetryBuilder (#9685)
- Rename http.resend_count to http.request.resend_count (#9700)
- Define
url.schemein terms of logical operation in HTTP server semconv (when opting in to new semconv) (#9698) - Generate only consumer span for sqs receive message (#9652)
- Replace
(client|server).socket.(address|port)attributes withnetwork.(peer|local).(address|port)(when opting in to new semconv) (#9676) - Add capability for invokedynamic InstrumentationModules to inject proxies (#9565)
- Make
network.transportandnetwork.typeopt-in (when opting in to new semconv) (#9719) - Factor in
X-Forwarded-Host/Forwardedwhen capturingserver.addressandserver.port(when opting in to new semconv) (#9721) - Move class that should've been internal to internal package (#9725)
- Only set
server.portwhenserver.addressis set (when opting in to new semconv) (#9737) - Add messaging conventions to sqs spans (#9712)
- Make the JDBC driver config work with the OTel starter (#9625)
- Don't normalize the '-' character in HTTP header names when opting in to new semconv (#9735)
- Add instrumentation for jaxws metro 3.0+ (#9705)
- Change
user_agent.originalfrom recommended to opt-in on HTTP client spans (#9776) - Change the precedence between
:authorityandHostheaders (#9774) - Move capturing enduser.id attribute behind a flag (#9751, #9788)
- Remove conditional requirement on
network.peer.addressandnetwork.peer.port(when opting in to new semconv) (#9775) - Change
client.portfrom recommended to opt-in on HTTP server spans (when opting in to new semconv) (#9786) - Make
url.schemeopt in for HTTP client metrics and makeserver.portrequired (when opting in to new semconv) (#9784) - Change
http.request.body.sizeandhttp.response.body.sizeattributes from recommended to opt-in (when opting in to new semconv) (#9799) - Capture
http.routein spring-cloud-gateway (#9597) - Always set messaging operation (#9791)
- Change
network.protocol.namefrom opt-in to conditionally required (when opting in to new semconv) (#9797) - Support specifying
spring.application.namein thebootstrap.properties,bootstrap.ymlandbootstrap.yaml(#9801) - Add process spans to aws-1 sqs instrumentation (#9796)
- Implement capturing message headers for aws1 sqs spans (#9824)
- Add process spans to aws2 sqs instrumentation (#9778)
- Add
service.nameto MDC (#9647) - Capture enduser attributes in Spring Security (#9777)
- Capture message id in aws1 sqs instrumentation (#9841)
- Implement capturing message headers for aws2 sqs spans (#9842)
- Move kafka metrics to separate instrumentation module (#9862)
- Capture logback logger context properties (#9553)
- Stable JVM semconv implementation: classes (#9821)
- Stable JVM semconv implementation: threads (#9839)
- Stable JVM semconv implementation: GC (#9890)
- Bridge incubator metrics apis (#9884)
- Ability to instrument logs before OTel injection into OTel appenders (#9798)
- Suppress instrumentation based on suppress Context key (#9739)
- Stable JVM semconv implementation: the rest (#9896)
🛠️ Bug fixes
- Fix armeria server instrumentation for http2 (#9723)
- Guard against null list from aws SQS lib (#9710)
- Fix parsing port from mariadb jdbc url (#9863)
🧰 Tooling
- Improve disableShadowRelocate (#9715)
- Allow injection of helper bytecode as resources (#9752)
- Rewrite @Advice.Enter for indy advice (#9887)
🙇 Thank you
This release was possible thanks to the following contributors who shared their brilliant ideas and awesome pull requests:
@123liuziming @AlchemyDing @breedx-splk @brunobat @cleverchuk @cxjava @glebignatieff @hannahchan @jack-berg @jackshirazi @jaydeluca @jeanbisutti @JonasKunz @kares @kenfinnigan @laurit @lesterhaynes @LikeTheSalad @mateuszrzeszutek @mmorel-35 @nluk @otbe @PaurushGarg @philsttr @steverao @tduncan @trask @tylerbenson @wzy531a