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

sentry-load-scale

针对高流量应用优化 Sentry 的事件处理能力,通过动态采样、客户端缓冲、异步处理和多区域路由等策略,在保障关键错误可观测性的前提下,平衡性能、成本与数据完整性。

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

Skills.MD

# Sentry Load Scale ## Prerequisites - High-traffic application metrics available - Sentry quota and billing understood - Performance baseline established - Event volume estimates calculated ## Instructions 1. Implement adaptive sampling based on error frequency per type 2. Configure tiered transaction sampling with endpoint-specific rates 3. Set up client-side buffering with increased buffer size 4. Reduce SDK overhead with minimal integrations and breadcrumbs 5. Use async event processing to avoid blocking requests 6. Configure background flushing on graceful shutdown 7. Set up multi-region DSN routing if applicable 8. Implement quota budget allocation across environments 9. Add dynamic rate adjustment based on quota usage 10. 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. ## Resources - [Sentry Quotas](https://docs.sentry.io/product/accounts/quotas/) - [Performance Best Practices](https://docs.sentry.io/product/performance/)

评论 0

还没有评论,来抢沙发。