callstack / callstack/react-native-open-telemetry

Android: Distributed tracing for RN (cross-thread)

Offen
#9 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
help wanted
Vorherrschende Sprache
Kotlin
Sterne
58
Forks
2
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## Describe the feature

We want to provide an automatic way of context sharing between JS and Native. No matter where you collect your telemetry, it will be correctly marked for you.

Spec: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/context/api-propagators.md

JS:
https://opentelemetry.io/docs/languages/js/propagation/
https://github.com/open-telemetry/opentelemetry-js/blob/main/api/src/context/types.ts#L49

Java:
https://opentelemetry.io/docs/languages/java/api/#context-api

https://github.com/open-telemetry/opentelemetry-java/blob/f17b8b0414eeaf3f6bf8558f1da0ef462997c99e/context/src/main/java/io/opentelemetry/context/Context.java#L88

https://github.com/open-telemetry/opentelemetry-java/blob/b468a2e9bf0f3e46b5c18c1fcf038f387ad5ed1b/context/src/main/java/io/opentelemetry/context/ContextStorage.java#L63

## Motivation

Effortless context sharing between JS and Native contexts.

## Related Issues

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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