-
Notifications
You must be signed in to change notification settings - Fork 56
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
Support aws-otel-java-instrumentation agent with KMS 1.X SDK #147
Comments
Thanks @gautam-nutalapati - I have filed open-telemetry/opentelemetry-java-instrumentation#5229 upstream this does seem to be a bug in the instrumentation. The reason it is showing up in the aws otel agent and not upstream for you is that we default to |
@gautam-nutalapati Thanks a lot for the repro app - I notice the issue is because of the It's not appropriate for the instrumentation to just crash for code that would otherwise work so I will work on fixing that, but does it work for you to use a more normal pattern calling setters on |
@anuraaga Thank you for the fix in upstream repo! and also for pointing out the subclassing pattern! |
Hi!
I am trying to use aws-otel-java-instrumentation java agent in my project and I see an issue shown below with KMS signing.
I am using KMS SDK 1.x and providing aws credentials via env vars.
I don't see this issue when I use the non-aws otel java agent and KMS SDK 1.x.
I created a sample project here to reproduce this. When using AWS KMS SDK 2.X, app does not throw the exception.
Is 1.X AWS KMS SDK supported by aws otel java agent? If it is supported, this is a valid issue.
Exception thrown when using AWS OTEL java agent with KMS AWS SDK 1.x:
The text was updated successfully, but these errors were encountered: