getsentry / getsentry/sentry-java

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

Aperta
#5,726 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Java Platform: Java
Lingua principale
Kotlin
Stelle
1.4k
Fork
478
Merge medio
2g 23h
PR unite (30g)
67

Descrizione

### 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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
kotlin
Ambito
api
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
52/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.