OpenTelemetry - CNCF/opentelemetry-java-instrumentation: Release v1.20.0
Name: opentelemetry-java-instrumentation
Owner: OpenTelemetry - CNCF
Release: Version 1.20.0
Released: 2022-11-17
License: Apache-2.0
Release Assets:
This release targets the OpenTelemetry SDK 1.20.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.
Instrumentation annotations module is declared stable in this release (io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations:1.20.0
).
Migration notes
- Renamed configuration property
otel.instrumentation.kafka.client-propagation.enabled
tootel.instrumentation.kafka.producer-propagation.enabled
and update code so that it only affects producer propagation (#6957) - Deprecated RocketMQ configuration property
otel.instrumentation.rocketmq-client.propagation
(#6958) - Deprecated
HttpServerAttributesExtractor#create(HttpServerAttributesGetter)
andHttpServerAttributesExtractor#builder(HttpServerAttributesGetter)
(#7020) - Renamed annotation instrumentation property name for the recent
opentelemetry-instrumentation-annotations
package fromotel.instrumentation.opentelemetry-annotations.exclude-methods
tootel.instrumentation.opentelemetry-instrumentation-annotations.exclude-methods
(#7196)
🌟 New javaagent instrumentation
📈 Enhancements
- Add meter version to runtime metrics (#6874)
- Auto-detect service name based on the jar name (#6817)
- okhttp: run our interceptor before other interceptors (#6997)
- Implement producer part of RocketMQ new client instrumentation (#6884)
- Ignore presto-jdbc shaded okhttp3 connection pool. (#7031)
- Record memory usage after garbage collection (#6963)
- Ignore trino shaded okhttp pool (#7114)
- Ignore Nashorn's class loader for performance reasons (#7116)
- Add gRPC library configuration for additionalServerExtractors (#7155)
- Implement consumer part of rocketmq new client instrumentation (#7019)
- Support cgroup v2 (#7167)
- Replace
runtime.jvm.gc.time
/runtime.jvm.gc.count
metrics withprocess.runtime.jvm.gc.duration
histogram (#6964)
🛠️ Bug fixes
- End reactor-netty HTTP client span properly on
Mono#timeout()
(#6891) - Capture net.host.name for netty (#6892)
- 6929 - fixing unit for runtime.jvm.gc.count (#6930)
- fix spring-webflux cast to PathPattern throws ClassCastException (#6872)
- Fix metric units (#6931)
- Fix RocketMQ ClassCastException on hook conflict (#6940)
- Handle UnsupportedClassVersionError in ServiceLoader on jdk9 (#7090)
- Avoid NPE when DirectWithAttributesChannel class is not available (#7133)
🧰 Tooling
- Revert removing the mavenCentral repo from the muzzle check plugin (#6937)
- Make java.sql classes available to the agent and extensions (#7038)
🙇 Thank you
This release was possible thanks to the following contributors who shared their brilliant ideas and awesome pull requests:
@aaron-ai @arik-dig @bherbst @breedx-splk @dboreham @dharmanshujohar @edysli @IcebergXTY @izeye @jack-berg @jkamke @jkwatson @kelystor @laurit @mateuszrzeszutek @maurolscla @PeterF778 @rapphil @ryandens @sharp-pixel @svrnm @theletterf @trask @wang007