Skip to content

Conversation

@lukeina2z
Copy link
Contributor

@lukeina2z lukeina2z commented Oct 24, 2025

This PR updates the upstream dependency OpenTelemetry Java Agent to their 2025 Sep. release version 2.20.1 (opentelemetry-instrumentation:2.20.1).

By doing so, the following upstream OpenTelemetry dependencies are automatically updated along with the Java Agent: opentelemetry-api: 1.54.1
opentelemetry-sdk: 1.54.1
opentelemetry-semconv: 1.37.0

Conflicts between the ADOT patch and the two upstream PRs below are resolved in this PR.

Rename lambda instrumentation helper class
open-telemetry/opentelemetry-java-instrumentation#14371

Let AWS Lambda SQS handlers report partial batch failures
open-telemetry/opentelemetry-java-instrumentation#14468

Tests Performed
Unit tests: ./gradlew build test
Smoke/contract tests: ./gradlew appsignals-tests:contract-tests:contractTests

Manual E2E tests:
Spring Boot EC2 sample app
Java Lambda function
Spring Boot web application hosted on AWS Lambda

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@lukeina2z lukeina2z requested a review from a team as a code owner October 24, 2025 16:53
This PR updates the upstream dependency OpenTelemetry Java Agent to version 2.20.1 (opentelemetry-instrumentation:2.20.1).

By doing so, the following upstream OpenTelemetry dependencies are automatically updated along with the Java Agent:
opentelemetry-api: 1.54.1
opentelemetry-sdk: 1.54.1
opentelemetry-semconv: 1.37.0

Tests Performed
Unit tests: ./gradlew build test
Smoke/contract tests: ./gradlew appsignals-tests:contract-tests:contractTests

Manual E2E tests:
Spring Boot EC2 sample app
Java Lambda function
Spring Boot web application hosted on AWS Lambda
@codecov-commenter
Copy link

codecov-commenter commented Oct 24, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.28%. Comparing base (09e6487) to head (152fb6a).
⚠️ Report is 517 commits behind head on main.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@              Coverage Diff              @@
##               main    #1246       +/-   ##
=============================================
- Coverage     85.71%   67.28%   -18.43%     
- Complexity       19      525      +506     
=============================================
  Files             3       54       +51     
  Lines            49     2693     +2644     
  Branches          5      373      +368     
=============================================
+ Hits             42     1812     +1770     
- Misses            3      746      +743     
- Partials          4      135      +131     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

majanjua-amzn
majanjua-amzn previously approved these changes Oct 24, 2025
@lukeina2z lukeina2z changed the title Update OpenTelemetry Versions Bump ADOT Java version to 2.20.0 and OTel deps to 2.20.1 Oct 27, 2025
@lukeina2z lukeina2z merged commit 90d5791 into aws-observability:main Oct 27, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants