github.com/graph-gophers/graphql-go

github.com/graph-gophers/graphql-go

The goal of this project is to provide full support of the October 2021 GraphQL specification with a set of idiomatic, easy to use Go packages.

Register tracer middleware

Join Point
Advice
Append the following any arguments to the function call:
  1. // Using the following synthetic imports:
    import (
    	graphql "github.com/graph-gophers/graphql-go"
    	graphqltrace "gopkg.in/DataDog/dd-trace-go.v1/contrib/graph-gophers/graphql-go"
    )
    graphql.Tracer(graphqltrace.NewTracer())