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

sentry-reference-architecture

实现 Sentry 监控架构的标准化部署,支持项目结构规划、SDK 配置集中化、跨服务链路追踪及告警分级路由,通过统一错误分类与发布追踪提升系统可观测性,适用于企业级应用监控体系设计。

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

Skills.MD

# Sentry Reference Architecture ## Prerequisites - Sentry organization created - Team structure defined - Service inventory documented - Alert escalation paths established ## Instructions 1. Define project structure based on application architecture 2. Create centralized SDK configuration module with standard settings 3. Implement global error handler middleware with Sentry integration 4. Create domain-specific error classes with appropriate tags 5. Configure distributed tracing with header propagation between services 6. Set up alert hierarchy (critical, warning, info) with routing rules 7. Configure issue routing based on team ownership and tags 8. Enable release tracking for every deployment 9. Document architecture patterns and configuration standards 10. Review and adjust based on error patterns after initial deployment ## Output - Project structure following best practices - Centralized SDK configuration module - Distributed tracing configured across services - Alert routing rules defined ## Error Handling See `{baseDir}/references/errors.md` for comprehensive error handling. ## Examples See `{baseDir}/references/examples.md` for detailed examples. ## Resources - [Sentry Best Practices](https://docs.sentry.io/product/issues/best-practices/) - [Distributed Tracing](https://docs.sentry.io/product/performance/distributed-tracing/)

评论 0

还没有评论,来抢沙发。