-
Notifications
You must be signed in to change notification settings - Fork 821
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
"Traced example" in getting started is broken as HTTP correlation is not working in "axios" module #1076
Labels
bug
Something isn't working
Comments
is this fixed by #1078 or does it need its own PR? |
I've seen similar behavior with plain http module. described in #1101 |
I've put what i believe is a workaround there, could you test it @kanikashah90 ? |
pichlermarc
pushed a commit
to dynatrace-oss-contrib/opentelemetry-js
that referenced
this issue
Dec 15, 2023
open-telemetry#1076) Co-authored-by: Daniel Dyla <[email protected]> Co-authored-by: Gerhard Stöbich <[email protected]> Co-authored-by: Valentin Marchaud <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of OpenTelemetry are you using?
v0.8.1
What version of Node are you using?
v12.16.3
What did you do?
If possible, provide a recipe for reproducing the error.
I ran the example in "traced-example" in "getting-started" directory with "ConsoleSpanExporter". I ran two instances of the example with one as the client service and the other as the server service.
What did you expect to see?
When I access the "middle-tier" endpoint spans created by the client service trace should look like:
What did you see instead?
Instead in the span with name "GET /backend"
parentId
isundefined
I tried it with Jaeger backend to visualize the results. Due to this broken correlation, two traces are getting created. One for the client-side for everything before HTTP call to the server and the other for the HTTP call to the server.
The text was updated successfully, but these errors were encountered: