返回 Skill 列表
extension
分类: 开发与工程无需 API Key

sentry-architecture-variants

执行适用于不同类型应用程序的哨兵架构模式。在为单体、微服务、无服务器或混合架构设置Sentry时使用。可以通过诸如“sentry monolith setup”、“sentry microservices”、“sentry serverless”、“sentry architecture pattern”等短语触发。

person作者: jakexiaohubgithub

Sentry Architecture Variants

Prerequisites

  • Application architecture documented
  • Service inventory available
  • Team ownership defined
  • Deployment model understood

Instructions

  1. Identify application type (monolith, microservices, serverless, hybrid)
  2. For monoliths, create single project and use tags for module filtering
  3. For microservices, create one project per service with shared config
  4. Configure distributed tracing with sentry-trace and baggage headers
  5. For serverless, use framework-specific SDK wrappers
  6. Set up cross-system tracing for hybrid architectures
  7. Configure message queue integration with trace context propagation
  8. Add tenant isolation tags for multi-tenant applications
  9. Set up edge function monitoring with platform-specific SDKs
  10. Document architecture decisions and implement team-based access controls

Output

  • Architecture-appropriate Sentry configuration
  • Project structure matching application topology
  • Distributed tracing configured
  • Team-based access controls

Error Handling

See {baseDir}/references/errors.md for comprehensive error handling.

Examples

See {baseDir}/references/examples.md for detailed examples.

Resources