contrib/graph-gophers/graphql-go
Those integration are enabled by having the
following import
in the project’s orchestrion.tool.go
file:
import (
_ "github.com/DataDog/orchestrion"
_ "gopkg.in/DataDog/dd-trace-go.v1/contrib/graph-gophers/graphql-go" // integration
//...
)
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.
ParseSchema
One of
- Call to
graphql.MustParseSchema
- Call to
graphql.ParseSchema
Append the following
any
arguments to the function call:// 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())