-
Notifications
You must be signed in to change notification settings - Fork 916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenTelemetry Java Agent fails to start with AWS Resource Provider in 2.13.0 #13412
Comments
This looks like a problem with the aws resource provider not the agent. Please use a newer version of the aws resource provider. |
How to do that? It seems to be bundled in tested agent.jar: https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v2.13.1/opentelemetry-javaagent.jar. |
Sorry, for some reason I thought that this had to be added as an extension. We'll have to do a patch release to fix it by including an updated aws resource provider in the agent. cc @trask |
I kicked off the backport: #13420 Let's leave this issue open until we have a chance to add some kind of a test for this. |
Confirmed. v2.13.3 is working as expected. |
Describe the bug
When upgrading the OpenTelemetry Java agent from 2.12.0 to 2.13.0 (or 2.13.1), the following exception occurs, causing the agent to fail during startup:
The issue only occurs when the AWS Resource Provider is enabled (via system property
otel.resource.providers.aws.enabled
or env variableOTEL_RESOURCE_PROVIDERS_AWS_ENABLED
).Steps to reproduce
Use java-agent 2.13.0 or 2.13.1 and enable AWS Resource Provider via system property or environment variable.
Expected behavior
The agent should start normally.
Actual behavior
The agent fails to start, and no telemetry signals (traces, metrics, logs) are sent.
Javaagent or library instrumentation version
v2.13.0, v2.13.1
Environment
amazoncorretto/amazoncorretto:21.0.6-al2023-headless, spring-boot 3.4.3.
Additional context
No response
The text was updated successfully, but these errors were encountered: