contrib/99designs/gqlgen

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/99designs/gqlgen" // integration
	//...
)

gqlgen is a Go library for building GraphQL servers without any fuss.

New

Join Point
Advice
Replace the expression using the template:
// Using the following synthetic imports:
import (
	gqlgentrace "gopkg.in/DataDog/dd-trace-go.v1/contrib/99designs/gqlgen"
	handler "github.com/99designs/gqlgen/graphql/handler"
)
func(s *handler.Server) *handler.Server {
	s.Use(gqlgentrace.NewTracer())
	return s
}({{ . }})