sentry-rate-limits
Installation
SKILL.md
Sentry Rate Limits & Quota Optimization
Overview
Manage Sentry rate limits, sampling strategies, and quota usage to control costs without losing visibility into critical errors. Covers client-side sampling, beforeSend filtering, server-side inbound filters, per-key rate limits, spike protection, and the usage stats API.
Prerequisites
- Sentry account with a project DSN configured
SENTRY_AUTH_TOKENwithorg:readandproject:writescopes (Settings > Auth Tokens)SENTRY_ORGandSENTRY_PROJECTslugs known- SDK installed:
@sentry/node(npm) orsentry-sdk(pip) - Current event volume visible at
sentry.io/stats/
Instructions
Step 1 — Understand Rate Limit Behavior
When your project exceeds its quota, Sentry returns 429 Too Many Requests with a Retry-After header. The SDK automatically stops sending events until the cooldown expires. Events generated during this window are permanently lost — there is no replay mechanism.