| name | sentry-load-scale |
| description | Manage scale Sentry for high-traffic applications. Use when optimizing for high event volumes, managing costs at scale, or tuning for performance. Trigger with phrases like "sentry high traffic", "scale sentry", "sentry high volume", "sentry millions events". |
| allowed-tools | Read, Write, Edit, Grep |
| version | 1.0.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
Sentry Load Scale
Prerequisites
- High-traffic application metrics available
- Sentry quota and billing understood
- Performance baseline established
- Event volume estimates calculated
Instructions
- Implement adaptive sampling based on error frequency per type
- Configure tiered transaction sampling with endpoint-specific rates
- Set up client-side buffering with increased buffer size
- Reduce SDK overhead with minimal integrations and breadcrumbs
- Use async event processing to avoid blocking requests
- Configure background flushing on graceful shutdown
- Set up multi-region DSN routing if applicable
- Implement quota budget allocation across environments
- Add dynamic rate adjustment based on quota usage
- Monitor SDK event throughput and adjust configuration
Output
- Optimized sampling configuration
- Quota management strategy
- Cost-efficient event capture
- Scalable Sentry integration
Error Handling
See {baseDir}/references/errors.md for comprehensive error handling.
Examples
See {baseDir}/references/examples.md for detailed examples.