github open-telemetry/opentelemetry-java-instrumentation v1.32.0
Version 1.32.0

latest releases: v1.33.4, v2.5.0, v1.33.3...
7 months ago

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.scheme in 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 with network.(peer|local).(address|port) (when opting in to new semconv) (#9676)
  • Add capability for invokedynamic InstrumentationModules to inject proxies (#9565)
  • Make network.transport and network.type opt-in (when opting in to new semconv) (#9719)
  • Factor in X-Forwarded-Host/Forwarded when capturing server.address and server.port (when opting in to new semconv) (#9721)
  • Move class that should've been internal to internal package (#9725)
  • Only set server.port when server.address is 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.original from recommended to opt-in on HTTP client spans (#9776)
  • Change the precedence between :authority and Host headers (#9774)
  • Move capturing enduser.id attribute behind a flag (#9751, #9788)
  • Remove conditional requirement on network.peer.address and network.peer.port (when opting in to new semconv) (#9775)
  • Change client.port from recommended to opt-in on HTTP server spans (when opting in to new semconv) (#9786)
  • Make url.scheme opt in for HTTP client metrics and make server.port required (when opting in to new semconv) (#9784)
  • Change http.request.body.size and http.response.body.size attributes from recommended to opt-in (when opting in to new semconv) (#9799)
  • Capture http.route in spring-cloud-gateway (#9597)
  • Always set messaging operation (#9791)
  • Change network.protocol.name from opt-in to conditionally required (when opting in to new semconv) (#9797)
  • Support specifying spring.application.name in the bootstrap.properties, bootstrap.yml and bootstrap.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.name to 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

Don't miss a new opentelemetry-java-instrumentation release

NewReleases is sending notifications on new releases.