Skip to content

Conversation

@elastic-observability-automation
Copy link
Contributor

@elastic/apm-agent-java, can you please check and merge this PR?


Upgrade the upstream agent version and related transitive dependencies

Update upstream OpenTelemetry agent version and related dependencies

ran shell command "gradle/update-upstream.sh v2.23.0 && echo \"Update successful\""

v2.23.0
This release targets the OpenTelemetry SDK 1.57.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](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/VERSIONING.md#opentelemetry-java-instrumentation-versioning) for more details.

 ### ⚠️ Breaking Changes

- ActiveMQ Classic JMX metrics: rename attributes and metrics to align with semantic conventions (see PR description for specifics) ([#14996](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14996))
- Library instrumentation: remove previously deprecated methods from telemetry builders ([#15324](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15324))
- Logback: `captureArguments` no longer captures message template, use `captureTemplate` ([#15423](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15423))
- Play: disable controller spans by default, re-enable with `otel.instrumentation.common.experimental.controller-telemetry.enabled=true` ([#15604](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15604))

### 🚫 Deprecations

- Library instrumentation: deprecate `setSpanNameExtractor()` and `setStatusExtractor()` in favor of `setSpanNameExtractorCustomizer()` and `setStatusExtractorCustomizer()` ([#15529](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15529))

### 🌟 New javaagent instrumentation

- Apache ElasticJob ([#14933](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14933))

### 🌟 New library instrumentation

- Apache Iceberg ([#15114](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15114))
- Servlets ([#15473](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15473))

### 📈 Enhancements

- Spring starter: add declarative config logging exporter ([#14917](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/14917))
- Failsafe: add support for `RetryPolicy` ([#15255](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15255), [#15537](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15537))
- GraphQL: add option to disable capturing query documents ([#15384](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15384))
- JMX metrics: allow any classpath resource path in rules ([#15413](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15413))
- Spring Boot actuator autoconfigure: support Spring Boot 4 ([#15433](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15433))
- Spring JMS: support Spring Boot 4 ([#15434](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15434))
- Spring starter: support Spring Boot 4 ([#15459](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15459))
- Lettuce: support custom `ClientResources` ([#15470](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15470))
- Lettuce: add reactor-core compatibility checker ([#15472](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15472))
- Servlet: propagate context explicitly for async runnables ([#15476](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15476))
- Servlet: always add `trace_id` and `span_id` attributes to requests ([#15485](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15485))
- Pekko HTTP: separate route instrumentation from HTTP server instrumentation ([#15499](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15499))
- MongoDB: emit versioned scope name ([#15500](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15500))
- Spring WebFlux: support Spring Boot 4 ([#15502](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15502), [#15574](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15574))
- Spring WebMVC: support Spring Boot 4 ([#15525](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15525))
- Spring Cloud Gateway: support Spring Boot 4 ([#15540](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15540))
- Spring starter: add missing Kafka configuration options ([#15592](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15592))
- OpenTelemetry API interop: support new GlobalOpenTelemetry methods introduced in 1.57 ([#15620](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15620))

### 🛠️ Bug fixes

- Spring Web/WebFlux: restore GraalVM native-image compatibility ([#15306](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15306))
- Spring Kafka: end span in `afterRecord` callback ([#15367](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15367))
- Spring starter: fix environment variable overrides for array properties in declarative config ([#15424](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15424))
- Ktor: prevent double `end()` calls in `KtorServerTelemetry` ([#15452](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15452))
- OpenTelemetry API interop: fix null handling in `ExtendedOpenTelemetry` declarative config ([#15478](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15478))
- Akka HTTP: fix `http.route` attribute capture and span naming ([#15504](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15504))
- Extensions: fix SPI loading for `InstrumenterCustomizerProvider` and related classes ([#15538](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15538))
- Sanitize sql statements that may contain unquoted passwords ([#15607](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/15607))

### 🙇 Thank you

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

@123liuziming
@bioplasticlining
@Cirilla-zmh
@copilot-pull-request-reviewer
@cyrille-leclerc
@droidnxs
@gaeljw
@George-C-Odes
@ghareeb-falazi
@GondaliaKaran
@gquintana
@jack-berg
@jaydeluca
@laurit
@marychatte
@obs-gh-abhishekrao
@onurkybsi
@philsttr
@prydin
@robsunday
@steverao
@SylvainJuge
@Tefaier
@thompson-tomo
@ThorbenKuck
@toon-borgers-hs
@trask
@tylerbenson
@zeitlinger
GitHub Action workflow link
Updatecli logo

Created automatically by Updatecli

Options:

Most of Updatecli configuration is done via its manifest(s).

  • If you close this pull request, Updatecli will automatically reopen it, the next time it runs.
  • If you close this pull request and delete the base branch, Updatecli will automatically recreate it, erasing all previous commits made.

Feel free to report any issues at github.com/updatecli/updatecli.
If you find this tool useful, do not hesitate to star our GitHub repository as a sign of appreciation, and/or to tell us directly on our chat!

@elastic-observability-automation elastic-observability-automation bot requested a review from a team as a code owner December 13, 2025 06:02
@elastic-observability-automation elastic-observability-automation bot added the dependencies Pull requests that update a dependency file label Dec 13, 2025
@SylvainJuge SylvainJuge merged commit a3ff940 into main Dec 15, 2025
17 checks passed
@SylvainJuge SylvainJuge deleted the updatecli_main_upgrade-upstream-agent-version branch December 15, 2025 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-java dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants