sentry-miniapp
sentry-miniapp is a community-supported Sentry SDK for monitoring mini programs and mini games across multiple Chinese platforms. Built on @sentry/core from Sentry JavaScript SDK V10, it provides error monitoring, performance monitoring, distributed tracing, session health tracking, and offline event caching with zero runtime dependencies. Key features include automatic exception capture from app lifecycle events (onError, onUnhandledRejection, onPageNotFound, onMemoryWarning), automatic breadcrumb collection (device info, user interactions, network requests, page lifecycle), built-in source map path normalization for cross-platform stacks, offline caching with automatic retry on reconnect, and smart deduplication with sampling control. The SDK supports a single codebase running across all major Chinese platforms. Platform support covers WeChat, Alipay, ByteDance, Baidu, QQ, DingTalk, and Kuaishou, plus mini games on WeChat and Douyin with cold start first-frame timing and FPS or jank monitoring. Cross-platfo