Skip to content

GraphQL client errors #2337

@sentrivana

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.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions