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
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
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
POSTwhich 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
POSTis for which query, as such I am trying to summarise the root operation in the following formHTTP_METHOD - query QUERYI am aware of
responseHookon GraphQL instrumentation, but not sure how to proceed with itBeta Was this translation helpful? Give feedback.
All reactions