Spike protection or Global Rate limit for on-premise?

I was wondering if the spike protection feature exists in the on-premise installation or if there’s a way to set up global rate limiting?


I think @untitaker or @jauer can answer this question :slight_smile:

Unfortunately, the feature does not exist in the on-premise version of Sentry.

Assuming you’re running Sentry in single organization mode (the default), you can configure global static rate limits by ensuring your server configuration is set to this (also the default) in sentry.conf.py:

SENTRY_QUOTAS = "sentry.quotas.redis.RedisQuota"

Then, add the following to your config.yml:

system.rate-limit: <max events per minute>

Thank you @jauer the config option looks like a good fit.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.