callstack / callstack/react-native-open-telemetry

Android: Distributed tracing for RN (cross-thread)

Open
#9 1 comment 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Kotlin
Stars
58
Forks
2
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.