github open-telemetry/opentelemetry-java-instrumentation v1.11.0
Version 1.11.0

latest releases: v1.33.2, v2.3.0, v1.33.1...
2 years ago

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 previous release (1.10.0) deprecated the entire io.opentelemetry.instrumentation.api.tracer
    package in the instrumentation-api artifact, and the package was removed in this release.
  • The javaagent -slim artifact has been dropped in this release, because the exporters are much
    smaller now and there is no longer a significant size difference between the -slim and default
    artifacts.
  • The opentelemetry-aws-lambda-1.0 has been split into two artifacts
    opentelemetry-aws-lambda-core-1.0 and opentelemetry-aws-lambda-events-2.2.

🌟 New javaagent instrumentation

  • Spring RMI instrumentation (#5033)

🌟 New library instrumentation

  • Ratpack httpclient (#4787)

📈 Enhancements

  • Add http.route to server spans where route was already being captured for span name (#5086, #5240, #5242, #5241, #5239)
  • Use RPC attributes from spec for AWS SDK (#5166)
  • SdkTracerProvider auto closed as separate Context Bean (#5124) (#5125)
  • Support redisson 3.16.8+ (#5201)
  • Support AWS SDK v1 request object subclasses. (#5231)
  • Remove slim artifact (#5251)
  • kotlinx-coroutines-reactor context propagation (#5196)
  • Log a warning whenever GlobalOpenTelemetry.set() is called (#5264)
  • Use http.route in HttpServerMetrics (#5266)
  • Use VirtualField for associating netty listener with wrapper (#5282)
  • Add code attributes to spring-scheduling spans (#5306)
  • Propagate context into redisson async callback (#5313)
  • Add max measurements to Micrometer Timer & DistributionSummary (#5303)
  • Make it possible to configure base time unit used by the Micrometer bridge (#5304)
  • Make HttpClientMetrics report low cardinality metrics (#5319)
  • Implement NamingConvention support in Micrometer bridge (#5328)
  • Add net.peer.name and net.peer.port attributes for grpc client span (#5324)
  • Split lambda instrumentation into core and events (#5326)
  • Add jaeger remote sampler to agent (#5346)
  • Weak cache optimization (#5344)

🛠️ Bug fixes

  • Several micrometer instrumentation fixes (#5118)
  • Fix serialisation exception on default lambda events (#4724)
  • NoSuchMethodError when using agent and modules (JPMS) (#5169)
  • Spring boot cloud gateway, context propagation broken (#5188)
  • Akka http server span names are always akka.request #3478 (#5150)
  • Recover from duplicate class definition errors (#5185)
  • Fix serialization for quartz JobExecutionContext (#5263)
  • End jedis span when operation actually ends (#5256)
  • Enable oshi ProcessMetrics in javaagent (#5281)
  • Add missing return type matchers to the executor instrumentation (#5294)
  • Fix triggering of DNS lookup (#5297)
  • Avoid potential for reverse name lookup (#5305)
  • Fix WeakConcurrentMap memory leak (#5316)
  • AWS Lambda instrumentation requires jackson and lambda-events on the classpath (#5326)

🧰 Tooling

  • Convert InstrumentationTestRunner from interface to abstract class (#5112)
  • Parameterize VirtualField field type (#5165)
  • Remove old TraceUtils and use InstrumentationTestRunner#run*Span() (almost) everywhere (#5160)
  • Remove deprecated tracer API (#5175)
  • Remove HttpServerTest#extraAttributes() method (#5176)
  • Rename ServerSpanNaming to HttpRouteHolder (#5211)
  • Don't run testLatestDeps on alpha/beta/rc versions (#5258)
  • Refactor HTTP attributes extractors to use composition over inheritance (#5030, #5194, #5267)
  • Refactor AttributesExtractor so that it extracts route from Context (#5288)
  • Publish gradle-plugins to Maven Central (#5333)

🙇 Thank you

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

@acm19
@anuraaga
@Asafb26
@blumamir
@breedx-splk
@domyway
@dynatrace-peterlang
@frommeyerc
@gautam-nutalapati
@gsmirnov-splk
@iNikem
@irizzant
@jack-berg
@jkwatson
@jord1e
@jprinet
@jsalinaspolo
@kubawach
@laurit
@mateuszrzeszutek
@mcmho
@mircea-lemnaru-aera
@mping-exo
@necrolyte2
@ozoz03
@pavolloffay
@pichlermarc
@ralphgj
@Samudraneel24
@trask
@valodzka
@xsmrcek

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

NewReleases is sending notifications on new releases.