Stack position: 9/10 (investigation). Blocked by #3000**.**
Determine whether/how data_collection.graphql (document, variables) can gate GraphQL query capture in the Ruby SDK.
Background
sentry-ruby/lib/sentry/graphql.rb simply calls GraphQL::Schema.trace_with(GraphQL::Tracing::SentryTrace). The document/variable capture happens inside the upstream graphql gem's SentryTrace, which we do not control directly.
Deliverable (investigation, not necessarily code)
- Assess options: upstream config option on
SentryTrace, a wrapper/subclass, before_send scrubbing, or filing an upstream request.
- Decide whether this becomes a no-op for now, a wrapper implementation, or an upstream ask.
- Document findings and file any follow-up.
May resolve as "documented + upstream issue filed" rather than a code change.
Stack position: 9/10 (investigation). Blocked by #3000**.**
Determine whether/how
data_collection.graphql(document,variables) can gate GraphQL query capture in the Ruby SDK.Background
sentry-ruby/lib/sentry/graphql.rbsimply callsGraphQL::Schema.trace_with(GraphQL::Tracing::SentryTrace). The document/variable capture happens inside the upstreamgraphqlgem'sSentryTrace, which we do not control directly.Deliverable (investigation, not necessarily code)
SentryTrace, a wrapper/subclass,before_sendscrubbing, or filing an upstream request.May resolve as "documented + upstream issue filed" rather than a code change.