Skip to content
AWS X-Ray Tracer for gqlgen
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
gqlgenxraytracer
README.md
UNLICENSE
go.mod
go.sum

README.md

gqlgen-tracer-xray

AWS X-Ray Tracer for gqlgen

Synopsis

package main

import (
	"context"
	"fmt"

	"github.com/99designs/gqlgen/graphql"
	"github.com/99designs/gqlgen/handler"
	"github.com/aws/aws-xray-sdk-go/xray"
	"github.com/aereal/gqlgen-tracer-xray/gqlgentracerxray"
)

func main() {
  handler.GraphQL(
    NewExecutableSchema(...),
    gqlhandler.ComplexityLimit(1000), // Recommended for record complexity
    gqlgentracerxray.New(),
  )
}

See also

You can’t perform that action at this time.