github open-telemetry/opentelemetry-java-instrumentation v1.13.0
Version 1.13.0

latest releases: v2.8.0, v1.33.6, v2.7.0...
2 years ago

This release targets the OpenTelemetry SDK 1.13.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

  • Micrometer instrumentation is now automatically applied to spring-boot-actuator apps
  • Some configuration properties have been renamed:
    • otel.instrumentation.common.experimental.suppress-controller-spans -> otel.instrumentation.common.experimental.controller-telemetry.enabled (important: note that the meaning is inverted)
    • otel.instrumentation.common.experimental.suppress-view-spans -> otel.instrumentation.common.experimental.view-telemetry.enabled (important: note that the meaning is inverted)
    • otel.instrumentation.netty.always-create-connect-span -> otel.instrumentation.netty.connection-telemetry.enabled
    • otel.instrumentation.reactor-netty.always-create-connect-span -> otel.instrumentation.reactor-netty.connection-telemetry.enabled
  • Runtime memory metric names were updated to reflect semantic conventions
  • Micrometer library instrumentation has been deprecated as it has been moved to the core repo and is now published under io.opentelemetry:opentelemetry-micrometer1-shim
  • Library instrumentation entry points have been renamed from *Tracing to *Telemetry

๐ŸŒŸ New javaagent instrumentation

  • GraphQL (#5583)
  • JBoss Log Manager (#5737)
  • Apache HttpClient 5.x async client (#5697)

๐ŸŒŸ New library instrumentation

๐Ÿ“ˆ Enhancements

  • Elasticsearch rest client low cardinality span names (#5584)
  • Implement "Prometheus mode" for better micrometer->OTel->Prometheus support (#5537)
  • Apply micrometer instrumentation to spring-boot-actuator apps (#5666)
  • Sql sanitizer: handle double quoted table names (#5699)
  • Spring Boot Starter service-name is constant (#5359)
  • Update runtime memory metrics to reflect semantic conventions (#5718)
  • change rpc type in apache dubbo (#5432)
  • Rework context propagation to redisson async callback (#5748)
  • Resolve end strategy after WithSpan method instead of before. (#5756)
  • Allow scanning instrumented reactor publishers and only allow registeโ€ฆ (#5755)
  • Faster type matching (#5724)
  • Use UnsynchronizedAppenderBase as base class for our logback appender (#5818)
  • Do not set the http.route attribute in JSF instrumentations (#5819)
  • Use micrometer1-shim in micrometer javaagent instrumentation, deprecate library instrumentation (#5820)
  • Rename netty always-create-connect-span property to connection-telemetry (#5834)
  • Update the http.route attribute even for not sampled server spans (#5844)

๐Ÿ› ๏ธ Bug fixes

  • Fix possible deadlock (#5585)
  • Prevent possible deadlock in downstream distro (#5830)
  • Limit problems from kafka iterator instrumentation thread context leak (#5826)

๐Ÿงฐ Tooling

  • Remove deprecated methods from instrumentation-api and library instrumentations (#5575)
  • Split out RpcAttributesGetter (#5548)
  • Run tests with jdk17 (#5598)
  • Split out MessagingAttributesGetter (#5626)
  • Run Gradle and compile code with Java 17 (#5623)
  • Rename library entrypoints to Telemetry (#5624)
  • Add InstrumenterBuilder.addRequestListener (#5655)
  • Simplify HttpUrlConnection instrumentation (#5673)
  • Convert all logging statements from slf4j to jul (#5674)
  • Allows passing an OpenTelemetry instance to registerObservers() methods. (#5716)
  • Make it possible to register multiple helper resources under the sameโ€ฆ (#5703)
  • Split out instrumentation-api-semconv (#5721)
  • Move ClassNames & SpanNames to .util package (#5746)
  • Library instrumentation should read its version from a file (#5692)
  • Rename view and controller suppression config properties (#5747)
  • Deprecate AttributesExtractor#set() method (#5749)
  • Cleanup Config & ConfigBuilder API (#5733)
  • Instrumenter instrumentation version and schema url (#5752)

๐Ÿ™‡ Thank you

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

@anuraaga
@anuragagarwal561994
@aschugunov
@breedx-splk
@cartermp
@cbos
@chalin
@chenjazz
@cuichenli
@f00b455
@gquintana
@ianmcorvidae
@iNikem
@irizzant
@jack-berg
@jenarros
@jiwen624
@jkwatson
@jord1e
@jprinet
@laurit
@mateuszrzeszutek
@neiser
@pavolloffay
@theletterf
@trask
@tydhot
@wallezhang
@zoranzaric

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

NewReleases is sending notifications on new releases.