getsentry / getsentry/sentry-java

Add a flag to `SentryApolloInterceptor` to stop attaching tracing headers for Apollo v2

Offen
#5,726 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Java Platform: Java
Vorherrschende Sprache
Kotlin
Sterne
1.4k
Forks
478
Ø Merge
2 T. 23 Std.
Gemergte PRs (30 T.)
67

Beschreibung

### Description

There's no URL available before the request goes out in our Apollo v2 integration. We're attaching tracing headers without checking against `tracePropagationTargets`.

We could:
- add an opt-out flag to disable this (recommended)
- remove trace headers from Apollo v2

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start at SentryApolloInterceptor and inspect the Apollo v2 request path, especially how tracing headers are attached without a URL. Confirm the intended opt-out behavior from the issue description, then add coverage for the flag and verify that the headers are absent when it is enabled; done means Apollo v2 supports the documented opt-out without affecting other behavior.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
kotlin
Bereich
api
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
52/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.