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

sentry-prod-checklist

确保 Sentry 在生产环境中的完整部署与配置验证,涵盖 DSN 安全注入、环境标识、源码映射上传、隐私与采样策略设定、告警通道集成、错误捕获实测及回滚方案文档化。

0.0 (0) 13 次安装 原作者 编程导航
收录于 2026-01-22
开发运维 AI 技能

Skills.MD

# Sentry Prod Checklist ## Prerequisites - Sentry account with project created - Production DSN separate from development/staging - Build pipeline with source map generation - sentry-cli installed and configured with auth token ## Instructions 1. Configure production DSN via environment variables (never hardcode) 2. Set environment to "production" and configure release version 3. Generate source maps during build process 4. Upload source maps using sentry-cli releases commands 5. Verify security settings (sendDefaultPii: false, debug: false) 6. Configure appropriate sample rates for production volume 7. Set up alert rules with team notification channels 8. Connect source control and issue tracker integrations 9. Run verification test to confirm error capture and source maps 10. Document rollback procedure for emergency disable ## Output - Production-ready Sentry configuration - Verified source map uploads - Configured alert rules and notifications - Documented release workflow - Validated error capture with test events ## Error Handling See `{baseDir}/references/errors.md` for comprehensive error handling. ## Examples See `{baseDir}/references/examples.md` for detailed examples. ## Resources - [Sentry Production Checklist](https://docs.sentry.io/product/releases/setup/) - [Sentry Release Health](https://docs.sentry.io/product/releases/health/)

评论 0

还没有评论,来抢沙发。