https://github.com/aereal/gqlgen-tracer-xray
AWS X-Ray Tracer for gqlgen
https://github.com/aereal/gqlgen-tracer-xray
aws-xray golang gqlgen graphql xray
Last synced: 6 months ago
JSON representation
AWS X-Ray Tracer for gqlgen
- Host: GitHub
- URL: https://github.com/aereal/gqlgen-tracer-xray
- Owner: aereal
- License: unlicense
- Created: 2019-10-24T12:29:33.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-25T00:11:06.000Z (over 2 years ago)
- Last Synced: 2025-04-01T11:49:21.825Z (6 months ago)
- Topics: aws-xray, golang, gqlgen, graphql, xray
- Language: Go
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gqlgen-tracer-xray
[AWS X-Ray][xray] Tracer for [gqlgen][]
## Synopsis
```go
package mainimport (
"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
- [99designs/gqlgen-contrib][gqlgen-contrib]
[xray]: https://aws.amazon.com/xray/
[gqlgen]: https://gqlgen.com/
[gqlgen-tracer]: https://github.com/99designs/gqlgen/blob/master/graphql/tracer.go
[gqlgen-contrib]: https://github.com/99designs/gqlgen-contrib