Skip to content

GraphQL Connected Services #2198

Closed

Description

@smeubank

Background

We want to provide better GraphQL support with Sentry SDKs, frontend to backend. Work has already begun on some mobile platforms. There is also already some implementations for GraphQL server and client side. With the current work we want to ensure that the strategy to ensure proper connected errors and grouping works from backend to frontend. Java already has an integration for GraphQL.

Proposal

Python SDK should set context for GraphQL on errors same as what is done for Mobile SDK to ensure the value add from Frontend to Backend

Definition of Done TBC:

  • GraphQL Context

Further context:

getsentry/sentry#50230

Activity

  1. moved this to Waiting for: Product Owner in GitHub Issues with 👀on Jun 26, 2023
  2. self-assigned this
    on Jun 30, 2023
  3. added a commit that references this issue on Jul 20, 2023
    5199d54
  4. sentrivana commented on Aug 2, 2023

    @sentrivana
    Collaborator

    Reopening this since the implementation will have to be reworked.

    The original implementation was capturing client errors by inspecting requests/responses done by the three HTTP clients we provide integrations for (standard library, httpx, aiohttp). This proved too brittle since it tampered with low-level HTTP internals. A better approach would be to add integrations for common GraphQL clients which already recognize GraphQL errors and create Sentry events from those.

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

Metadata

Metadata

Assignees

Labels

New Integration

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions