callstack / callstack/react-native-open-telemetry
Android: Distributed tracing for RN (cross-thread)
- Ngôn ngữ chính
- Kotlin
- Star
- 58
- Fork
- 2
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
## 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
Hướng dẫn đóng góp
Hướng nghiên cứu
Start with the linked context propagation specification and the referenced OpenTelemetry Java and JavaScript context APIs. Trace how this React Native Android project currently crosses the JS and native boundary, then define the integration points for automatic context sharing. Done means JS and native telemetry retain the correct context across threads, with verification added for the supported paths.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- android, java, javascript, kotlin, react-native
- Lĩnh vực
- mobile, observability
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100