How to change root operation name? #5511
Unanswered
bhupeshisanurd
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey folks, I have been trying to figure out how to edit the root span operation name attribute, so that we can get a better idea on GraphQL queries being sent. For instance, we use sumo logic as a collector, and the root operation name is just
POST
which is not meaningful from debugging purposes.Its clear that the queries are visible on breakdown of the individual trace, but its hard to pin-point which
POST
is for which query, as such I am trying to summarise the root operation in the following formHTTP_METHOD - query QUERY
I am aware of
responseHook
on GraphQL instrumentation, but not sure how to proceed with itBeta Was this translation helpful? Give feedback.
All reactions