github open-telemetry/opentelemetry-java-instrumentation v2.24.0
Version 2.24.0

21 hours ago

This release targets the OpenTelemetry SDK 1.58.0.

Note that many artifacts 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.

⚠️ Breaking Changes

  • Remove support for previously deprecated property otel.instrumentation.logback-appender.experimental.capture-logstash-attributes (#15722)
  • Remove deprecated methods from HTTP library instrumentations (#15802)

🚫 Deprecations

  • JMX Metrics: Deprecated addClassPathRules and addCustomRules methods in JmxTelemetryBuilder, and moved non-public classes to an internal package (#15658)
  • Deprecated setMessagingReceiveInstrumentationEnabled in favor of setMessagingReceiveTelemetryEnabled to match config property name (#15668)
  • Deprecated database client attribute getter methods getDbSystem() and getResponseStatus() in favor of getDbSystemName() and getResponseStatusCode() to align with stable semantic conventions (#15696)
  • Deprecated setCapturedRequestParameters() in Servlet library instrumentation in favor of Experimental.setCapturedRequestParameters() as request parameter capture is experimental (#15826)
  • Deprecated getHttpClient(), setHttpClientTransport(), and setSslContextFactory() in Jetty client instrumentation in favor of new builder-style methods newHttpClient(), newHttpClient(SslContextFactory), and newHttpClient(HttpClientTransport, SslContextFactory) (#15827)
  • Deprecate Netty experimental method that is still in public API (#15828)
  • Deprecated newHttpClient() in favor of wrap() in Java HTTP Client instrumentation for consistency with naming conventions across library instrumentations (#15829)
  • Deprecated new* methods in favor of create* methods across multiple instrumentation libraries for consistency (e.g., newHttpClient()createHttpClient(), newInterceptor()createInterceptor()) (#15832)
  • Deprecated methods in SqlStatementInfo and MultiQuery in favor of methods using stable semantic convention terminology: getFullStatement()getQueryText(), getOperation()getOperationName(), and getStatements()getQueryTexts() (#15833)
  • Deprecated database getter methods in favor of methods using stable semantic convention terminology: getResponseStatusCode()getDbResponseStatusCode(), getBatchSize()getDbOperationBatchSize(), and getQueryParameters()getDbQueryParameters() (#15859)

📈 Enhancements

🛠️ Bug fixes

  • Servlet library instrumentation: fix capturing enduser.id (#15858)
  • Fix agent startup failing on read-only filesystem (#15682)

🙇 Thank you

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

@breedx-splk
@brunobat
@copilot-pull-request-reviewer
@gaeljw
@igreenfield
@jack-berg
@jaydeluca
@jkwatson
@JonasKunz
@laurit
@mznet
@novoslavik
@philsttr
@robsunday
@steverao
@SylvainJuge
@toon-borgers-hs
@trask
@yairogen
@zeitlinger

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

NewReleases is sending notifications on new releases.