You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
Activity
Capture GraphQL client errors (#2243)
sentrivana commentedon Aug 2, 2023
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.
sentrivana commentedon Oct 11, 2023
https://github.com/getsentry/sentry-python/releases/tag/1.32.0 with GraphQL support is out!