技能 编程开发 Sentry 高级故障排查

Sentry 高级故障排查

v20260311
sentry-advanced-troubleshooting
提供 Sentry SDK 故障诊断流程,包括开启调试、验证初始化、网络连通、采样配置、source map 排查、事务与面包屑监控等,帮助确认事件采集与性能数据正常。
获取技能
319 次下载
概览

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 ${CLAUDE_SKILL_DIR}/references/errors.md for comprehensive error handling.

Examples

See ${CLAUDE_SKILL_DIR}/references/examples.md for detailed examples.

Resources

Overview

Execute advanced Sentry troubleshooting techniques.

信息
Category 编程开发
Name sentry-advanced-troubleshooting
版本 v20260311
大小 5.94KB
更新时间 2026-03-12
语言