getsentry / getsentry/sentry-react-native

Synchronize `PropagationContext` across hybrid layers

Offen
#6,254 2 Kommentare 1 Reaktion 1 zugewiesene Person Beansprucht von @alwx Auf GitHub ansehen
Feature Mobile React-Native Traces
Vorherrschende Sprache
TypeScript
Sterne
1.8k
Forks
366
Ø Merge
1 T. 5 Std.
Gemergte PRs (30 T.)
93

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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