-
Notifications
You must be signed in to change notification settings - Fork 871
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
HttpUrlConnection instrument exception #4697
Comments
Firstly I believe that the |
@laurit Is this something that can be reordered within agent initialization logic itself in a generic way to solve? Or is it essentially the same as #4642, recognizing threads started by the agent to not instrument them? |
@anuraaga You could try changing |
@wangzlei @anuraaga is this resolved by open-telemetry/opentelemetry-java-contrib#135? |
Describe the bug
opentelemetry-javaagent gets HttpUrlConnection exception on AWS EC2 host.
Steps to reproduce
Collector config, enable AWS XRay proxy to fetch remote sampling rules
docker composite, launches a simple spring server with OTel javaagent
What did you expect to see?
No exception for HttpUrlConnection.
Collector should relay SamplingRules and SamplingTargets requests from application to AWS XRay
What did you see instead?
application error
collector error
What version are you using?
v1.7.2
Environment
Compiler/Runtime: OpenJDK 11
OS: Amazon Linux 2 amd64
Additional context
The issue does not happen in Mac. Not sure if happens in other Linux OS.
The text was updated successfully, but these errors were encountered: