Skip to main content

Can I customize the Spike Protection threshold?

Issue

I'm looking for ways to change the Spike Protection limit manually.

Applies To

  • All customers

Resolution

Spike Protection is a feature designed to help manage sudden, short-lived spikes in event traffic. The threshold for Spike Protection cannot be manually adjusted. Instead, it is dynamically and intelligently managed by an advanced algorithm designed to optimize performance and accuracy. This system continuously evaluates patterns and adapts the threshold as necessary to ensure optimal protection against unexpected spikes.

While Spike Protection is effective for short-term spikes, it is not designed to fully protect against sustained increases in traffic. When event volume remains high for an extended period, the system adapts by increasing its threshold, treating the higher traffic as the new baseline. This adaptive behavior ensures that the system remains operational but also means that it cannot fully shield against prolonged high traffic volumes.

To effectively manage sustained traffic spikes and optimize your event consumption, consider the following strategies:

  1. Quota Management: Monitor and manage your quota usage to ensure you stay within your limits.

  2. Proactive Alerts: Set up alerts to detect anomalies or unexpected increases in traffic early.

  3. SDK-Level Controls: Use SDK-level features such as before_send filters or adjust the sample_rate to reduce the volume of events being sent.

  4. Combine Strategies: Use Spike Protection in conjunction with the above practices to create a more robust traffic management approach. By understanding the limitations of Spike Protection and implementing these complementary strategies, you can better manage your event traffic and avoid exceeding your quota.

  5. You can find more information on this topic here.

Related Topics

  • Quota limits and increases for legacy plans

  • Setting up proactive alerts in Sentry

  • Using SDK filters to manage event intake

Did this answer your question?