Skip to content
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

Add tracing to dataloader methods when the tracing feature is enabled. #996

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

Dig-Doug
Copy link
Contributor

I tested this by modifying the tide-dataloader example and attaching it to jaeger. You'll see in the screenshot below that the trace successfully gets passed from the top level schema, through the library, and finally to the data loader implementation.

localhost_16686_trace_4baff6fd542886d9c118deb6bed16483 (2)

Fixes #908

@sunli829
Copy link
Collaborator

sunli829 commented Aug 9, 2022

That's great! 🙂

@sunli829 sunli829 merged commit 886594b into async-graphql:master Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tracing with Dataloader does not work correctly
2 participants