-
Notifications
You must be signed in to change notification settings - Fork 3
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
Promise.all structures produce unlinked spans #16
Comments
this issue is strange... Two spans are correctly generated but sadly with two completely different traceId |
The problem seems related to Product.find().then(...) // everything looks good
Promise.find().then(() => Product.countDocuments()).then(...) // 1 span only correctly linked with the root span
Promise.all([Product.find(), Product.countDocuments()).then(...) // no span linked with root span |
I found the same problem with the opentelemetry mysql-plugin open-telemetry/opentelemetry-js#940 |
wdalmut
added a commit
that referenced
this issue
Apr 7, 2020
wdalmut
added a commit
that referenced
this issue
Apr 11, 2020
This was referenced Apr 12, 2020
This should be fixed by #34 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If i use a structure like
Spans are correctly generated but not linked with main root span (appears as two separated spans).
The text was updated successfully, but these errors were encountered: