gqlgen-tracer-xray

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2019 License: Unlicense

README

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL