github open-telemetry/opentelemetry-java-instrumentation v0.15.0
Version 0.15.0

latest releases: v2.10.0, v2.9.0, v2.8.0...
3 years ago

This update is compatible with the OpenTelemetry Java SDK 0.15.0. Most breaking changes are in the SDK so if you are using library instrumentation and the SDK directly, you may need to update code for initializing the SDK.

🌟 New instrumentation

📈 Improvements

  • Fix instrumentation of Jersey 2.30 #2071
  • The agent now uses the SDK autoconfiguration module for environment variables #2077
  • Servlet tracer names now reflect the version of the instrumentation library, e.g. servlet-2.0, servlet-3.0 #1979
  • JMS does not create spans when no messages are received #2091
  • SQL sanitization performance improved and now results are cached #2113 #2094
  • AWS SDK v1 instrumentation will now always use AWS trace propagator without configuring it globally #2117
  • AWS SDK v1 propagates SQS trace context #2114

🛠️ Bug fixes

  • The agent will work correctly with the latest version of Netty #2070
  • The agent will work correctly with the latest version of Apache Camel #2084
  • The agent will work correctly with the latest version of Spring Webflux #2100

🧰 Tooling

  • Tests for verifying behavior with Apache Camel and AWS SQS #2061
  • Netty instrumentation only attempts to be applied now if the classpath contains 4.0, or 4.1 respectively #2099
  • The default branch has been renamed to main #2118
  • Agent testing libraries are published for use in custom distributions #2133

☢️ Breaking changes

  • Jaeger thrift exporter has been removed from the default agent distribution. Splunk distribution still includes it. #2073
  • Instrumentation-specific flags for enabling SQL sanitization have been consolidated into one otel.instrumentation.db-statement-sanitizer.enabled
  • Many configuration properties have been updated to the latest specification
    • otel.exporter -> otel.trace.exporter / otel.metrics.exporter. The new variables only accept a single value
    • otel.exporter.otlp.endpoint now requires a scheme of http:// or https://. otel.exporter.otlp.insecure has been removed
    • otel.bsp.max.queue -> otel.bsp.max.queue.size
    • otel.bsp.max.export.batch -> otel.bsp.max.export.batch.size
    • otel.bsp.export.sampled has been removed. Only sampled spans are exported
    • otel.config.sampler.probability -> otel.trace.sampler=parentbased_traceidratio and otel.trace.sampler.arg=<probability>
    • otel.config.max.attrs -> otel.span.attribute.count.limit
    • otel.config.max.events -> otel.span.event.count.limit
    • otel.config.max.links -> otel.span.link.count.limit

🙇 Thank you

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

@anuraaga
@ben-childs-docusign
@breedx-splk
@iNikem
@jkwatson
@kubawach
@laurit
@malafeev
@mateuszrzeszutek
@pavolloffay
@trask
@vovencij

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

NewReleases is sending notifications on new releases.