技能 编程开发 Sentry 限流优化

Sentry 限流优化

v20260311
sentry-rate-limits
通过监控用量、采样非关键事件、添加过滤与限流规则,并自动化配额监控,优化 Sentry 事件流量与成本控制。
获取技能
362 次下载
概览

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 ${CLAUDE_SKILL_DIR}/references/errors.md for comprehensive error handling.

Examples

See ${CLAUDE_SKILL_DIR}/references/examples.md for detailed examples.

Resources

Overview

Manage Sentry rate limits and quota optimization.

信息
Category 编程开发
Name sentry-rate-limits
版本 v20260311
大小 2.84KB
更新时间 2026-03-12
语言