
Sentry SDK for Lynx
https://github.com/getsentry/sentry-lynx- Category
- Developer Tools
- Rank
- No. 1120Tools index
- Pricing
- Open Source
- Type
- TOOL
- Builder
- getsentry
- GitHub
- 35 stars
- Latest release
- 0.1.0-preview.2
- Date
About
Official Sentry SDK for Lynx — crash reporting and performance monitoring for Lynx-based apps.
What it does
It collects failures from Lynx applications, enriches reports with tags, context, breadcrumbs, and user data, then sends them to Sentry. Its build integration uploads source maps for readable release traces and can translate development stack frames locally.
Why it's ranked here
The design covers a useful debugging chain from automatic detection through contextual reports and readable stack traces. However, the repository explicitly calls every major feature in development and says the SDK has not been officially released, making it promising but premature for dependable production adoption.
What's good
Coverage spans JavaScript errors and native crashes on Android and iOS. Offline event storage protects reports during connectivity gaps. The public library also supports manual messages, exceptions, feedback, event processors, tags, users, scopes, context, and breadcrumbs.
Tradeoffs
This is preview software with unfinished features and documentation. Initialization only proceeds on the Lynx mobile background thread or browser main thread. Non-mobile environments need a Fetch-compatible API, while readable release traces require source-map generation, credentials, build-plugin configuration, and an upload step.
How to use it well
It best fits teams actively building Lynx apps that already send telemetry to Sentry and can tolerate preview maturity. Initialize it early, attach useful context, keep source maps in release builds, and test offline reporting. It does not replace broader backend or infrastructure monitoring.
Technical notes+
The workspace is a private Yarn 4 and Lerna monorepo declared in package.json. packages/lynx-react/src/index.ts re-exports the browser capture and scope surface, while packages/lynx-react/src/sdk.ts supplies Lynx-specific defaults, thread gating, stack parsing, and a fetch transport. packages/lynx-react/src/client.ts works around missing URLSearchParams support by parsing the DSN after client construction and rebuilding the transport endpoint. packages/lynx-plugin/src/index.ts wraps the Sentry webpack plugin for Rsbuild and conditionally inserts development middleware. packages/lynx-plugin/src/middleware.ts exposes /__sentry__/symbolicate, and packages/lynx-plugin/src/symbolicator.ts reads generated files and source maps to recover original frame locations. Both package builds preserve TypeScript modules as ESM with source maps through their rollup.config.mjs files.
Observed
- Primary language
- TypeScript, with JavaScript module build configuration
- Install surface
- npm package @sentry/lynx-react
- Interface
- Application library plus an Rsbuild build plugin
- Platform support
- Lynx on Android and iOS, plus browser main-thread execution
- Packaging
- Private Yarn 4 and Lerna monorepo with package and sample workspaces
- Build output
- Preserved-module ESM bundles with generated source maps
- Testing setup
- Vitest project configurations exist for both workspace packages
Read from README.md, package.json, packages/lynx-react/vitest.config.ts, packages/lynx-plugin/vitest.config.ts, packages/lynx-react/rollup.config.mjs, packages/lynx-plugin/rollup.config.mjs, packages/lynx-react/src/sdk.ts, packages/lynx-react/src/index.ts, packages/lynx-plugin/src/index.ts, packages/lynx-react/src/client.ts, packages/lynx-plugin/src/prefix.ts, packages/lynx-react/src/version.ts, packages/lynx-plugin/src/middleware.ts, packages/lynx-react/src/environment.ts, packages/lynx-plugin/src/symbolicator.ts.
What it can do
Capture and report application crashes
Lynx application crash data → Structured crash reports with stack traces and context
Monitor application performance metrics
Lynx application runtime data → Performance analytics and bottleneck identification
Track error occurrences and frequency
Application errors and exceptions → Error tracking dashboard with occurrence patterns
Collect user session data for debugging
User interaction events and application state → Session replay data and user journey tracking
Generate real-time alerts for critical issues
Application error thresholds and monitoring rules → Automated notifications and alerts
Aggregate application health metrics
Application performance and stability data → Health score metrics and trend analysis
Tags
Tech Stack
Media

Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.