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

sentry-rate-limits

通过分析 Sentry 当前事件流量与配额使用情况,动态调整采样率、配置错误忽略规则、启用客户端过滤及去重机制,实现事件量精准削减与成本优化,同时建立用量监控和告警体系。

0.0 (0) 25 次安装 原作者 编程导航
收录于 2026-01-22
效率工具 AI 技能

Skills.MD

# Sentry Rate Limits ## Prerequisites - Understanding of current event volume - Sentry billing plan known - High-volume endpoints identified - Noisy error patterns documented ## Instructions 1. Check current usage via Sentry API or dashboard stats 2. Implement error sampling with sampleRate for non-critical errors 3. Configure dynamic transaction sampling with tracesSampler 4. Add ignoreErrors patterns for common noisy errors 5. Enable deduplication integration to reduce duplicates 6. Apply client-side filtering in beforeSend hook 7. Set project rate limits via API or dashboard 8. Enable inbound filters for legacy browsers and extensions 9. Monitor event volume and set up quota alerts 10. Adjust sample rates based on billing period usage ## Output - Optimized sample rates configured - Rate limiting rules applied - Event filtering implemented - Quota usage monitoring setup ## Error Handling See `{baseDir}/references/errors.md` for comprehensive error handling. ## Examples See `{baseDir}/references/examples.md` for detailed examples. ## Resources - [Sentry Quota Management](https://docs.sentry.io/product/accounts/quotas/) - [Sampling Strategies](https://docs.sentry.io/platforms/javascript/configuration/sampling/)

评论 0

还没有评论,来抢沙发。