getsentry / getsentry/sentry-react-native
Turbo Modules: Documentation, migration guide, and public API
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 366
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 89
Description
Land the user-facing story once the implementation stabilizes.
**Tasks**
* Public API: confirm the option name (`enableTurboModuleTracking`), the integration name (`turboModulesIntegration`), and the options bag (`slowCallThresholdMs`, `ignoreTurboModules`, top-N cap). Run through `yarn api-report` and lock the surface.
* `CHANGELOG.md` under Unreleased / Features.
* Coordinate a docs PR with the Sentry docs repo covering:
* How the feature is enabled (new arch vs. old arch).
* What data lands on spans (attributes, measurements) and on events (tags, contexts).
* How crash reports attribute the active module + method.
* Privacy / overhead notes — especially that method names are sent (so users on strict PII setups know what they're shipping).
* Add a section to `packages/core/AGENTS.md` describing the TurboModule perf logger plumbing so future contributors know where to look.
* Add information about new attributes to https://github.com/getsentry/sentry-conventions (https://getsentry.github.io/sentry-conventions/attributes/)
* Decide and document the deprecation story (if any) for the legacy NativeModules path — most users will migrate to the new arch over the next few RN versions, and the legacy path can be marked as best-effort.
*
Contributor guide
Assessment
This issue has not been assessed yet.