github open-telemetry/opentelemetry-java-instrumentation v2.8.0
Version 2.8.0

5 days ago

This release targets the OpenTelemetry SDK 1.42.1.

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 unit on the opt-in Java 17 JFR-based metrics was updated from milliseconds to seconds to conform with the semantic conventions. If you are using the Java agent, this only affects you if you are opting in via otel.instrumentation.runtime-telemetry-java17.enable-all=true. (#12084, #12244)

📈 Enhancements

  • Update Pulsar instrumentation to work with next Pulsar release (#11648)
  • Capture network.peer.address in OkHttp 3.0 instrumentation (#12012)
  • Add support for CXF 4.0 JAX-WS (#12077)
  • Add rules for capturing Apache Camel metrics exposed by JMX MBeans (#11901)
  • Make RocketMQ span status extractor delegate to the default extractor (#12183)
  • Bridge log body any value (#12204)
  • Add declarative config support for resource providers (#12144)

🛠️ Bug fixes

  • Fix Javaagent doesn't work with java.net.spi.InetAddressResolverProvider (#11987)
  • Fix Oracle UCP 11 metrics not emitted (#12052)
  • Fix wrong database info captured while using Apache ShardingSphere (#12066)
  • Fix RabbitMQ NullPointerException (#12109)
  • Fix possible NullPointerException in Play instrumentation (#12121)
  • Fix error span status for successful requests in Ktor (#12161)
  • Make OpenTelemetryHandlerMappingFilter handle exceptions from ServletRequestPathUtils.parseAndCache() (#12221)
  • Fix tracing CoroutineCrudRepository.findById (#12131)
  • Fix capturing context in log4j library instrumentation with async logger (#12176)

🙇 Thank you

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

@123liuziming
@allati
@crossoverJie
@dao-jun
@hermannpencole
@heyams
@huange7
@jack-berg
@jackshirazi
@jaydeluca
@jeanbisutti
@jerrylincs
@JonasKunz
@laurit
@LikeTheSalad
@luigidemasi
@marychatte
@ofelbaum
@PeterF778
@robsunday
@serkan-ozal
@shalk
@steverao
@SylvainJuge
@trask
@xiepuhuan
@XuyuFu
@zeitlinger

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

NewReleases is sending notifications on new releases.