This release deprecates the entire io.opentelemetry.instrumentation.api.tracer
package in the instrumentation-api
artifact, and the package will be removed in the next release.
The new Micrometer instrumentation will now capture metrics already defined in instrumented applications (e.g. some libraries have built-in micrometer metrics, like spring boot for example) and send them out through the agent metrics pipeline.
This release requires the use of OpenTelemetry Java SDK 1.10.0.
Note that all artifacts other than io.opentelemetry.javaagent:opentelemetry-javaagent
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
opentelemetry-log4j-2.13.2
artifact has been renamed toopentelemetry-context-data-2.16-autoconfigure
- The
opentelemetry-logback-1.0
artifact has been renamed toopentelemetry-logback-mdc-1.0
- The
opentelemetry-ratpack-1.4
artifact has been renamed toopentelemetry-ratpack-1.7
and only supports Ratpack 1.7 and above now
🌟 New javaagent instrumentation
- Logback appender instrumentation to send logs through the OpenTelemetry logging pipeline (#4939, #4968)
- Log4j 2.x appender instrumentation to send logs through the OpenTelemetry logging pipeline (#4944, #4959, #4966)
- Log4j 1.2 appender instrumentation to send logs through the OpenTelemetry logging pipeline (#4943)
- java.util.logging instrumentation to send logs through the OpenTelemetry logging pipeline (#4941)
- Micrometer instrumentation to send micrometer metrics through the OpenTelemetry metrics pipeline (#4919, #5001, #5017)
🌟 New library instrumentation
- Logback appender to send logs through the OpenTelemetry logging pipeline (#4984)
- Log4j 2.x appender to send logs through the OpenTelemetry logging pipeline (#4375, #4907)
- Ktor instrumentation (#4983)
- Micrometer instrumentation to send micrometer metrics through the OpenTelemetry metrics pipeline (#5063)
📈 Enhancements
- Renamed Apache Dubbo and Log4j MDC library artifacts (#4779)
- Added http4 handler to apache-camel instrumentation (#4650)
- Capture servlet request parameters (#4703)
- Propagate Context instead of SpanContext in Kafka instrumentation (#4806)
- Instrument ContextPropagationOperator to bridge lib/agent calls (#4786)
- Add shouldStart() call to Armeria server instrumentation (#4843)
- Capture RPC metrics (#4838)
- Update log4j library base version (#4914)
- Rename log4j-thread-context modules to log4j-context-data (#4957)
- Support latest oshi version (#4993)
- Support latest RxJava version (#4954)
- Create producer span from spring integration instrumentation (#4932)
- Capture servlet request parameters at the end of the request (#5019)
- Don't extract deprecated cassandra keyspace attribute (#5041)
- Add OTLP logs exporters (#5060, #5088)
- End redisson span when the operation actually ends (#5073)
- Don't capture high-cardinality http.target as metrics attribute (#5081)
🛠️ Bug fixes
- Remove virtual field interfaces from reflection results (#4722)
- Work around jvm crash on early 1.8 (#4345)
- Fix http.url handing in vert.x 3 http client (#4739)
- Capture missing RMI spans (#4764)
- Avoid crashing on early 1.8 openjdk vms (#4789)
- Fix Quarkus correlation (#4883)
- Fix RabbitMQ instrumentation consumption on empty headers (#4903)
- Fix NPE in Apache HttpClient 4.0 instrumentation (#4913)
- Fix NPE in RocketMQ instrumentation (#4901)
- Fix time units in HTTP & RPC metrics (#4963)
- Fix some gauge types (#4962)
- Fix context propagation for undertow async dispatch (#4950)
- Fix redefinition failure on openj9 (#5009)
- Fix NPE in rmi server instrumentation (#5042)
🧰 Tooling
- Merge start and end time extractors (#4692)
- Move cache implementations to internal package (#4746)
- Reorganize shared servlet code (intro to #4317) (#4785)
- Move
AppServerBridge
andMappingResolver
toservlet-common:bootstrap
(#4817) - Move
ServletContextPath
toservlet-common:bootstrap
(#4824) - Expose AutoConfiguredOpenTelemetrySdk to AgentListener (#4831)
- Deprecate the Tracer API (#4868)
- Remove ConfigPropertiesAdapter as it's no longer needed (#4888)
- Refactor
ServerSpanNaming
(in preparation forhttp.route
) (#4852) - Move SpanKey to internal package (#4869)
🙇 Thank you
This release was possible thanks to the following contributors who shared their brilliant ideas and awesome pull requests:
@anuraaga
@Asafb26
@breedx-splk
@danhngo-lx
@dengliming
@frommeyerc
@HaloFour
@hellochenpc
@iNikem
@jack-berg
@jamesmoessis
@jkwatson
@jsalinaspolo
@jsuereth
@kubawach
@laurit
@lmolkova
@lokeshcse6
@mateuszrzeszutek
@michaelbannister
@osherv
@previousdeveloper
@ralphgj
@raptium
@rkolesnev
@Samudraneel24
@sh777
@shivanshu1333
@theletterf
@tnaroska
@tomasol
@trask
@yangtaoran
@yonigibbs
@Zane-XY