root query context #842
Unanswered
JonathanFraser
asked this question in
Q&A
Replies: 1 comment
-
There's no such context in query executor because as you've found out, it doesn't really execute queries recursively, doing it in layers instead. This behaviour is not really specific to Ariadne but is part of Our OpenTracing extension relies on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm implementing tracing on our graphql server but I'm getting a bit stuck. What I have currently is a custom extension to inject datadog spans on each resolver. This works nicely and we can see some good data. However, each of the resolvers are in parallel and more importantly independent. The resolvers aren't run in their parent's context. What I'd like to be able to do is hook into some sort of context which doesn't finish until all children are resolved, that way I can get a better feel for total root query execution time.
Beta Was this translation helpful? Give feedback.
All reactions