getsentry / sentry-javascript

Official Sentry SDKs for JavaScript
https://sentry.io
MIT License
7.85k stars 1.55k forks source link

Graphql Query on Transaction or Error in Sentry - Frontend Javascript #10326

Open thinkocapo opened 7 months ago

thinkocapo commented 7 months ago

Problem Statement

if a graphql query fails, is there a way we can see what was the graphql query...see it on the Issue (error) page or on the Transaction event.

Solution Brainstorm

maybe something similar to our Android Apollo Graphql client integration.

lforst commented 7 months ago

I don't think we have such instrumentation as of now. The users would have to set a context themselves.