How to enable spike protection in Sentry
Turn on spike protection in Sentry so a sudden burst of events cannot use up your quota. Open Settings, pick Spike Protection and switch the project toggle on.

Quick answer
To enable spike protection in Sentry, open Settings from the left navigation, choose Spike Protection under Usage & Billing, and switch on the toggle next to your project. Each project has its own toggle, so repeat it for every project you want covered, or use Enable All to switch every project on at once.
Steps at a glance
- Click Settings in the left navigation.
- Choose Spike Protection under Usage & Billing.
- Find your project in the Projects list.
- Switch the project toggle on.
- Confirm the toggle shows as enabled.
Interactive demo
Summary
Spike protection sets an event threshold for each project based on its history. When a project passes that threshold, Sentry drops the extra events so a sudden burst cannot use up your quota. You control it per project from one settings page.
Step-by-step guide
Step 1
Open Settings
From any page such as the issue feed, click Settings in the left navigation. This opens the settings area with its own sidebar of sections.
Step 2
Open Spike Protection
In the settings sidebar, scroll to Usage & Billing and click Spike Protection. The page lists every project in your organization.
Step 3
Turn spike protection off for javascript
Find javascript in the Projects list. The toggle at the start of its row is on when it shows a check mark. Click it to switch protection off, which shows what the disabled state looks like.
Step 4
Turn spike protection back on
Click the same toggle again. The change saves as soon as you click, so there is no separate save button. To switch every project at once, use Enable All at the top of the page.
Step 5
Confirm the toggle is on
Check that the toggle next to javascript shows a check mark again. Spike protection is now active for that project.
Why this matters
You ship a release and a loop starts throwing the same error thousands of times a minute. Without protection, that burst can use your whole monthly event quota. With it on, Sentry caps the flood and your quota is kept for real issues.
Frequently asked questions
Is spike protection set per project?
Yes. Each project has its own toggle in the Projects list, and the page also has Disable All and Enable All buttons for changing every project at once.
Do I need to save after switching the toggle?
No. The toggle changes when you click it and the page has no save button.
Related guides
Continue with more step-by-step guides for getting work done.
How to create a project in SentryCreate a new Sentry project in minutes: open Projects settings, pick a Node.js platform, name the project, and get an SDK ready for your app's errors.
How to add a dashboard widget in SentryLearn how to add a dashboard widget in Sentry: open a custom dashboard, build an Errors line chart, name it, and see it appear on the dashboard.
How to archive an issue in SentryArchive a Sentry issue you do not need to act on right now, choose when it should come back, and confirm the Archived status on the issue page.
How to explore traces in SentryLearn how to explore traces in Sentry: change the aggregate to p75, group spans by span.op, and filter to pageload spans to see slow operations.
How to filter issues by environment in SentryLearn how to filter the Sentry issue feed by environment using the All Envs selector, so you can see only staging issues and triage them separately.
How to filter issues by release in SentryLearn how to filter the Sentry issue feed by release. Search for a release version and see only the issues tied to that version of your app.
Create interactive demos like this one — free, no coding required.
Start for free →