callstack / callstack/react-native-open-telemetry

Android: Distributed tracing for RN (cross-thread)

Aperta
#9 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
help wanted
Lingua principale
Kotlin
Stelle
58
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

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.