github open-telemetry/opentelemetry-java-instrumentation v2.20.0
Version 2.20.0

15 hours ago

This release targets the OpenTelemetry SDK 1.54.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

  • The configuration option used to enable traces generated by the dropwizard-views instrumentation has changed from otel.instrumentation.common.experimental.controller-telemetry.enabled to otel.instrumentation.common.experimental.view-telemetry.enabled (#14475)
  • Deprecated (and -alpha) SpanNames class was removed (#14582)

🌟 New javaagent instrumentation

  • Add ClickHouse client v2 instrumentation (#14501)

📈 Enhancements

  • Add code attributes for log4j1 (#13947)
  • Add headers capture feature to Kafka 2.6 interceptors (#14290)
  • Support custom exception handling from logger instrumentation (#14493)
  • Add call depth check to executor instrumentation (#14546)
  • Add Spring starter thread details support (#14449)
  • Let AWS Lambda SQS handlers report partial batch failures (#14468)
  • Instrument instrumentation suppression API (#14565)
  • Declarative config: update file version support (#14593)
  • Add url.template support to Spring 6 RestTemplate (#14612)
  • Declarative config: add missing resource providers (#14222)
  • Declarative config: map common-enabled property (#14589)

🛠️ Bug fixes

  • Fix non-lowercase messaging headers capture (#14479)
  • Fix JUL logger methods parameter mismatch (#14531)
  • Fix a test failure with latest Mongo release (#14642)

🧰 Tooling

  • Add constructor to AgentClassLoader for custom parent ClassLoader (#14480)
  • Declarative config: make bridge usable by Spring starter and contrib (#14497, #14548)
  • Reduce log level for main jar detection (#14528)

🙇 Thank you

This release was possible thanks to the following contributors who shared their brilliant ideas and awesome pull requests:

@AlchemyDing
@asarkar
@breedx-splk
@brunobat
@devurandom
@jaydeluca
@jjant
@JonasKunz
@kelunik
@laurit
@maryliag
@Munken
@mznet
@oliver-zhang
@philsttr
@steverao
@SylvainJuge
@tanmaydpatel
@trask
@trasktest
@xiangtianyu
@zeitlinger

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

NewReleases is sending notifications on new releases.