We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We are using GQL Tracer for our application. We want to reduce the amount of noise so have enabled the WithoutTraceIntrospectionQuery Option.
WithoutTraceIntrospectionQuery
However, the tracer sometimes collects fields under the Introspection query. We have confirm:
github.com/99designs/gqlgen
We have configured the tracer as follow:
func createGQLHandler( schema graphql.ExecutableSchema) http.Handler { h := handler.New(schema) h.AddTransport(transport.Options{}) h.AddTransport(transport.POST{}) h.Use(extension.Introspection{}) h.SetRecoverFunc(func(ctx context.Context, err interface{}) error { logger.Error("graphql panic", "err", err) debug.PrintStack() return gqlerror.Errorf("internal system error") }) h.SetErrorPresenter(func(ctx context.Context, err error) *gqlerror.Error { logger.Error("graphql error", "err", err) return graphql.DefaultErrorPresenter(ctx, err) }) if config.DD_TRACE_ENABLED { t := gqlgentrace.NewTracer( gqlgentrace.WithAnalytics(true), gqlgentrace.WithServiceName(logging.DDServiceName), gqlgentrace.WithoutTraceIntrospectionQuery(), gqlgentrace.WithoutTraceTrivialResolvedFields(), ) h.Use(t) } httpAuthware, gqlAuthware := authenticator.NewAuthMiddleware(skipAudCheck) h.AroundOperations(gqlAuthware) return httpAuthware(h) }
Version of dd-trace-go 1.70.3
Describe what happened: Query comes from Retool traced all the fields under it.
Describe what you expected:
IntrospectionQuery
Steps to reproduce the issue:
Additional environment details (Version of Go, Operating System, etc.):
The text was updated successfully, but these errors were encountered:
rarguelloF
No branches or pull requests
We are using GQL Tracer for our application.
We want to reduce the amount of noise so have enabled the
WithoutTraceIntrospectionQuery
Option.However, the tracer sometimes collects fields under the Introspection query.
We have confirm:
github.com/99designs/gqlgen
: Filtered properlyWe have configured the tracer as follow:
Version of dd-trace-go
1.70.3
Describe what happened:
Query comes from Retool traced all the fields under it.
Describe what you expected:
IntrospectionQuery
shall not be traced.Steps to reproduce the issue:
Additional environment details (Version of Go, Operating System, etc.):
The text was updated successfully, but these errors were encountered: