getsentry / getsentry/sentry-react-native

Synchronize `PropagationContext` across hybrid layers

Aperta
#6,254 2 commenti 1 reazione 1 assegnatario Rivendicata da @alwx Vedi su GitHub
Feature Mobile React-Native Traces
Lingua principale
TypeScript
Stelle
1.8k
Fork
366
Merge medio
1g 5h
PR unite (30g)
93

Descrizione

Currently, WebViews, RN and native layers keep their own traceId. We could enhance the debugging experience by sharing trace across the hybrid applications layers.

### Examples

* RN opens WebView and an error (Browser SDK in WebView captured an error) happens on the web due to RN not supplying needed data (error was capture by RN). These are not sharing the same trace as the SDK operate independently.
* Native SDK captures error, due to which data are missing in RN layer, and thus RN captures an error. Currently these errors are no covered by the same trace id.

```[tasklist]
### Tasks
- [ ] https://github.com/getsentry/sentry-react-native/issues/3918
- [ ] sentry-javascript
- [ ] https://github.com/getsentry/sentry-cocoa/issues/4157
- [x] https://github.com/getsentry/sentry-java/issues/3562
- [ ] https://github.com/getsentry/sentry-dart/issues/2168
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.