-
Notifications
You must be signed in to change notification settings - Fork 804
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
Unlinked span for mysql plugin when use Promise.all function #940
Comments
Thats because you are using |
Could be also related to knex. As far as I know knex uses thenables and they are currently not supported by async-hooks/v8 PromiseHooks. see nodejs/node#22360 |
i can confirm that this issue is related to the "thenables" structure of Knex... |
hey Folks, was there a workaround that could work here? I see this issue closed, I'm still facing the issue of unlinked span with no parent
let me know if you need additional details. |
Please answer these questions before submitting a bug report.
What version of OpenTelemetry are you using?
0.6.0
What version of Node are you using?
v12.11.1
What did you do?
When i use a
Promise.all
function in combination with a traced function i will not found any query span in Jaeger but i found two completely separated spansIIt is very simple to test, for example using knex over mysql
What did you expect to see?
I am expecting that those two traces should be places under the main application span
What did you see instead?
I get totally separated spans
Additional context
I am trying this structure using a base express application (hello world + mysql using knex as query build)
The text was updated successfully, but these errors were encountered: