OpenTelemetry - CNCF/opentelemetry-java-instrumentation: Release v1.18.0
Name: opentelemetry-java-instrumentation
Owner: OpenTelemetry - CNCF
Release: Version 1.18.0
Released: 2022-09-14
License: Apache-2.0
Release Assets:
This release targets the OpenTelemetry SDK 1.18.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.
The opentelemetry-instrumentation-api
artifact is declared stable in this release.
Migration notes
- There were a few late-breaking changes in
opentelemetry-instrumentation-api
, prior to it being declared stable:InstrumenterBuilder.addAttributesExtractors(AttributesExtractor...)
was removed, use insteadaddAttributesExtractors(AttributesExtractor)
oraddAttributesExtractors(Iterable<AttributesExtractor>)
SpanLinksExtractor.extractFromRequest()
was removed, use instead manual extractionErrorCauseExtractor.jdk()
was renamed toErrorCauseExtractor.getDefault()
ClassNames
utility was removed with no direct replacement
- The deprecated
io.opentelemetry.instrumentation.api.config.Config
and related classes have been removed (#6501) - Net attributes getters were updated to reflect latest specification changes (#6503)
- The deprecated
Ordered
interface was removed from theopentelemetry-javaagent-extension-api
, use instead theOrdered
interface fromopentelemetry-sdk-extension-autoconfigure-spi
(#6589)
📈 Enhancements
- Add Spring Boot service name guesser / ResourceProvider (#6516)
- Move micrometer shim library instrumentation back (#6538)
- Add grpc status code to metrics attrs (#6556)
- Add mongo sanitization configuration (#6541)
- Add kafka client metrics to the javaagent instrumentation (#6533)
- Add experimental span attribute job.system (#6586)
- Add code attributes for Logback (#6591)
- Reactor instrumentation: do not make root context current (#6593)
🛠️ Bug fixes
- Fix default-enabled config (#6491)
- Fix new jdbc javaagent config (#6492)
- Fix jaxrs async instrumentation race (#6523)
- Fix spring webmvc instrumentation name (#6557)
- Fix spring boot
@WithSpan
handling (#6619)
🙇 Thank you
This release was possible thanks to the following contributors who shared their brilliant ideas and awesome pull requests:
@breedx-splk @cartermp @chalin @jack-berg @jeanbisutti @laurit @lmolkova @mateuszrzeszutek @mingchuno @ppatierno @Shivanireddie @trask