github open-telemetry/opentelemetry-java-instrumentation v2.2.0
Version 2.2.0

latest releases: v2.10.0, v2.9.0, v2.8.0...
8 months ago

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

  • Remove deprecated spring properties (#10454)

🌟 New javaagent instrumentation

  • Add cloud resource detectors in javaagent, but keep them disabled by default (#10754)
  • Add support for XXL-JOB (#10421)

📈 Enhancements

  • Don't fill network peer for cassandra SniEndPoint (#10573)
  • Spring boot starter: add service.version detection, improve service.name detection (#10457)
  • Always create a JMS consumer span (#10604)
  • Ability to disable the automatic Logback appender addition (#10629)
  • Allow excluding all methods of a class (#10753)
  • Preserve attribute type for logback key value pairs (#10781)
  • Add instrumentation for graphql 20 that does not use deprecated methods (#10779)
  • Capture http.route for pekko-http (#10799)
  • Normalize SQL IN(?, ?, ...) statements to "in(?)" to reduce cardinality of db.statement attribute (#10564)
  • Capture db.operation for CREATE/DROP/ALTER SQL statement (#10020)
  • Ignore AWS Lambda Runtime internal handlers (#10736)
  • Spring use SDK autoconfig (#10453)
  • Add manifest resource detector (#10621)
  • Add instrumentation for jetty 12 (#10575)
  • add host.id resource provider (#10627)

🛠️ Bug fixes

  • Don't fail spring application startup if sdk is disabled (#10602)
  • Fix shading aws propagator (#10669)
  • Disable http and rpc metrics when advice can not be applied (#10671)
  • Fix native tests (#10685)
  • Fix tomcat instrumentation when user includes wrong servlet api (#10757)
  • Override xray trace header instead of appending (#10766)
  • Fix spring boot starter failing without logback (#10802)
  • Fix spring kafka context leak when batch listener is retried (#10741)
  • Fix the logic to get container.id resource attribute (#10737)
  • Configure kafka metrics reporter as class (#10855)
  • Disable context propagation when virtual thread is switched to the carrier thread (#10854)

🙇 Thank you

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

@bbakerman
@bjrara
@breedx-splk
@cleverchuk
@crossoverJie
@dalbani
@dmarkwat
@freshchen
@gaeljw
@gdw2
@hatharom
@heyams
@jaydeluca
@jeanbisutti
@jkwatson-verta
@JonasKunz
@laurit
@liurui-1
@Moscagus
@paragniist
@pmitura-lucid
@qixiaogang
@samwright
@serkan-ozal
@steverao
@swar8080
@theletterf
@tkramarczyk-vgw
@trask
@tylerbenson
@wangzlei
@zeitlinger

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

NewReleases is sending notifications on new releases.