OpenTelemetry - java Instrumentation
Notes
no notes yet
Release notes
v1.14.0
· 1y+
This release targets the OpenTelemetry SDK 1.14.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-appender-2.16artifact has been renamed toopentelemetry-log4j-appender-2.17 - The
opentelemetry-log4j-context-data-2.16-autoconfigureartifact has been renamed toopentelemetry-log4j-context-data-2.17-autoconfigure - Micrometer library instrumentation has been removed as it has been moved to the core repo and is now published under
io.opentelemetry:opentelemetry-micrometer1-shim - The rxjava javaagent instrumentation names for suppression have changed to
rxjava AgentListener#beforeAgent()has been deprecated, as it is not expect to be needed by extensions authorsConfigPropertySourcehas been deprecated in favor ofConfigCustomizer- Several changes in the Instrumentation API -
RequestMetricshas been renamed toOperationMetrics-RequestListenerhas been renamed toOperationListener-ErrorCauseExtractor#extractCause()has been renamed toextract()-ContextCustomizerandRequestListenerstart()/end()methods have been renamed toonStart()/onEnd() - The
opentelemetry-javaagent-instrumentation-apiartifact has been merged into theopentelemetry-javaagent-extension-apiartifact
🌟 New javaagent instrumentation
- Add jboss-logmanager mdc support (#5842)
- Spring-kafka single record instrumentation (#5904)
- Add metrics instrumentation for grpc (#5923)
- Add vertx-kafka-client instrumentation (#5973, #5982)
- Hide the GC runtime metrics behind an experimental config flag (#5990)
- Add HikariCP connection pool metrics (#6003)
🌟 New library instrumentation
📈 Enhancements
- Enable span suppression by SpanKey by default (#5779)
- record exception in dubbo high version (#5892)
- Introduce LocalRootSpan (replacing ServerSpan) (#5896)
- Add javaagent<->application context bridge for HttpRouteHolder (#5838)
- Exclude spring temporary type matching class loader (#5912)
- Load agent classes child first (#5950)
- Avoid looking up annotation types during type matching (#5906)
- Add an SPI for customizing Config just before it's set (#6010)
🛠️ Bug fixes
- Fix duplicate class error on Android build (#5882)
- Avoid npe in netty 4.1 instrumentation (#5902)
- Fix logging exporter autoconfiguration issue (#5928)
- fix NPE for commons-httpclient v3.1 (#5949)
- Exclude duplicate project classes from inst/ (#5957)
- Ignore known problematic jdbc wrappers (#5967)
- Fix default enabled for runtime and oshi metrics (#5989)
- Mitigate against another kafka leak (#6021)
🙇 Thank you
This release was possible thanks to the following contributors who shared their brilliant ideas and awesome pull requests:
@anuraaga @breedx-splk @chenjazz @chronosa @cuichenli @dgradecak @Enkelian @HughPowell @iNikem @IraSkyx @jack-berg @jprinet @kelystor @laurit @mateuszrzeszutek @pkgonan @shreya22-1998 @trask @tydhot @wallezhang