sentry-architecture-variants
Sentry architecture patterns for different application types.Use when setting up Sentry for monoliths, microservices,serverless, or hybrid architectures.Trigger with phrases like "sentry monolith setup", "sentry microservices","sentry serverless", "sentry architecture pattern".
When & Why to Use This Skill
This Claude skill automates the architectural setup of Sentry for various application types, providing optimized configurations for monoliths, microservices, serverless, and hybrid environments. It streamlines the implementation of distributed tracing, project structuring, and platform-specific SDK integration to ensure robust error tracking and system observability across complex tech stacks.
Use Cases
- Microservices Observability: Streamlining the creation of per-service Sentry projects with shared configurations and end-to-end distributed tracing.
- Serverless & Edge Monitoring: Deploying framework-specific SDK wrappers and monitoring for serverless functions and edge computing platforms.
- Monolith Optimization: Organizing single-project Sentry setups using advanced tagging and module filtering for complex monolithic architectures.
- Distributed Tracing Setup: Configuring trace context propagation across message queues and hybrid systems to maintain visibility across service boundaries.
| name | sentry-architecture-variants |
|---|---|
| description | | |
| allowed-tools | Read, Write, Edit, Grep |
| version | 1.0.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
Sentry Architecture Variants
Prerequisites
- Application architecture documented
- Service inventory available
- Team ownership defined
- Deployment model understood
Instructions
- Identify application type (monolith, microservices, serverless, hybrid)
- For monoliths, create single project and use tags for module filtering
- For microservices, create one project per service with shared config
- Configure distributed tracing with sentry-trace and baggage headers
- For serverless, use framework-specific SDK wrappers
- Set up cross-system tracing for hybrid architectures
- Configure message queue integration with trace context propagation
- Add tenant isolation tags for multi-tenant applications
- Set up edge function monitoring with platform-specific SDKs
- 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.