callstack / callstack/react-native-open-telemetry

Android: Distributed tracing for RN (cross-thread)

未关闭
#9 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
help wanted
主要语言
Kotlin
星标
58
派生
2
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。