Skip to content

Commit 3ac5192

Browse files
authored
fix(spike protection): mention all applicable categories (#7573)
1 parent 59c6908 commit 3ac5192

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/docs/product/accounts/quotas/spike-protection.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ sidebar_order: 10
55
description: "Learn how to manage your quota and make sure that your volume isn't consumed all at once with Spike Protection."
66
---
77

8-
A spike is a significant, temporary increase in your error event volume. Because Sentry bills based on the number of monthly events sent, spikes can quickly consume your quota for an entire month. Spike Protection guards against this by establishing a spike threshold for the average number of error events each of your projects sends and then dropping them after that threshold is reached.
8+
A spike is a significant, temporary increase in your event volume. Because Sentry bills based on the number of events sent monthly, spikes can quickly consume your quota for an entire month. Spike Protection guards against this by establishing a spike threshold for the average number of events each of your projects sends and then dropping them after that threshold is reached.
9+
10+
Spike Protection currently applies to errors, transactions, and attachments.
911

1012
<Note>
1113

@@ -25,7 +27,7 @@ If you're an existing Sentry user with Spike Protection enabled on an org level,
2527

2628
## How Sentry Detects Spikes {#how-to-detect}
2729

28-
Sentry uses an algorithm to establish a spike threshold for each project. When this threshold is reached, a spike is flagged. Sentry then applies a dynamic rate limit to your project and begins discarding error events to keep your quota from being consumed too quickly. This protects you from short-term spikes. But because of the algorithm's dynamic nature, if the error event volume continues to be high for a sustained period of time, it'll become your new baseline and you may quickly run through your quota.
30+
Sentry uses an algorithm to establish a spike threshold for each project. When this threshold is reached, a spike is flagged. Sentry then applies a dynamic rate limit to your project and begins discarding events to keep your quota from being consumed too quickly. This protects you from short-term spikes. But because of the algorithm's dynamic nature, if the event volume continues to be high for a sustained period of time, it'll become your new baseline and you may quickly run through your quota.
2931

3032
Spike Protection will automatically deactivate once the spike event passes, until the next time a spike is detected.
3133

@@ -53,12 +55,12 @@ We recommend taking the following steps to manage your spikes:
5355

5456
- Check to see which issues are [consuming your quota](https://sentry.sentry.io/stats/).
5557
- Set [rate limits](/product/accounts/quotas/manage-event-stream-guide/#6-rate-limiting) on the DSN keys for the projects related to the spike.
56-
- Set up [metric alerts](/product/alerts/alert-types/#metric-alerts) for the number of errors in a project.
58+
- Set up [metric alerts](/product/alerts/alert-types/#metric-alerts) for the number of events in a project.
5759
- If a specific release version has caused the spike, add the version identifier to the project's [inbound filters](/product/accounts/quotas/manage-event-stream-guide/#3-inbound-data-filters) to avoid accepting events from that release.
5860
- Set up an [on-demand budget](/product/accounts/quotas/manage-event-stream-guide/#on-demand-budget) to make sure you have time to adjust your volume in the event of a future spike.
5961
- Set up [spend allocations](/product/accounts/quotas/#spend-allocation) to ensure your critical projects are guaranteed a portion of your reserved volume, even if there are spikes in other projects.
6062

61-
To review the error events that were dropped to save your quota with Spike Protection, go to the "Usage Stats" tab of the **Stats** page for your Sentry org and select "Errors" in the "Category" dropdown. You can see project-level details of your stats by using the project selector. Sentry can show the spike threshold for a time duration greater than 6hrs and less than 30 days.
63+
To review the events that were dropped to save your quota with Spike Protection, go to the "Usage Stats" tab of the **Stats** page for your Sentry org and select the desired event in the "Category" dropdown. You can see project-level details of your stats by using the project selector. Sentry can show the spike threshold for a time duration greater than 6hrs and less than 30 days.
6264

6365
![Spike limit threshold](spike-limit-threshold.png)
6466

0 commit comments

Comments
 (0)