首页/ AI 技能 / @skilllib/skill-2014279376643239938
Skill站外收录 @skilllib/skill-2014279376643239938

sentry-advanced-troubleshooting

提供面向 Sentry 的深度故障诊断能力,覆盖 SDK 初始化异常、事件丢失、源码映射失效及性能数据异常等复杂问题,通过日志分析、网络验证、配置检查与 CLI 工具联动,定位根本原因并生成系统健康报告。

0.0 (0) 138 次安装 原作者 编程导航
收录于 2026-01-22
效率工具 AI 技能

Skills.MD

# Sentry Advanced Troubleshooting ## Prerequisites - Debug mode enabled in SDK - Access to application logs - Sentry dashboard access - Sentry CLI installed for source map debugging ## Instructions 1. Enable debug mode in SDK configuration to see verbose logging 2. Verify SDK initialization by checking if client exists after init 3. Test network connectivity to Sentry ingest endpoint 4. Check sampling configuration to ensure events are not being dropped 5. Temporarily disable beforeSend filtering during debugging 6. Use sentry-cli sourcemaps explain to diagnose source map issues 7. Verify transaction creation and finish calls for performance data 8. Check breadcrumb capture with beforeBreadcrumb debugging 9. Resolve SDK conflicts by ensuring single initialization 10. Run diagnostic script to generate comprehensive health report ## Output - Root cause identified for SDK issues - Source map problems resolved - Event capture verified working - Performance monitoring validated ## Error Handling See `{baseDir}/references/errors.md` for comprehensive error handling. ## Examples See `{baseDir}/references/examples.md` for detailed examples. ## Resources - [Sentry Troubleshooting](https://docs.sentry.io/platforms/javascript/troubleshooting/) - [Source Maps Troubleshooting](https://docs.sentry.io/platforms/javascript/sourcemaps/troubleshooting/)

评论 0

还没有评论,来抢沙发。