GraphQL client errors · Issue #2337 · getsentry/sentry-python · GitHub
Skip to content

GraphQL client errors #2337

Description

@sentrivana

Problem Statement

Add support for customized errors for some of the most popular GraphQL clients.

Context:

Solution Brainstorm

See how we can hook into the different GraphQL client libraries to capture errors and spans.

We might want to add an optional flag called capture_errors (default True) to all client integrations to allow folks to turn error reporting off. If a user has both their client and server side GraphQL instrumented with Sentry, they could use this to select which of the integrations they want to use to capture the error (which would otherwise be reported by both client and server).

Client GraphQL integrations need to be enabled explicitly, i.e., they shouldn't be auto-enabled. The feature should be opt in so that users are not hit with a lot of new unexpected errors that count towards their quota.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions