-
Notifications
You must be signed in to change notification settings - Fork 150
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 instrumentation does not mark trace as external #387
Comments
It looks like this is because the I think refactoring the Note: There are problems with this commit that need to be fixed and tested still. |
Found that additional code refactoring and testing is required, will not be able to make the |
We have other problems with this instrumentation and are currently working on improving it. |
Description
When a transaction has an HTTP call using
HttpURLConnection
, the distributed traces for the HTTP call do show as being in the same transaction and not as a remote call.Expected Behavior
These HTTP calls show as remotes, like calls that use Apache's HTTP client.
Steps to Reproduce
Have 2 servers with DT enabled.
From one server, make an HTTP call using
HttpURLConnection
to the other.Check DT.
Your Environment
Java 16
Agent 7.2.0-SNAPSHOT
But most likely all other versions are affected.
The text was updated successfully, but these errors were encountered: