Skip to content

Commit

Permalink
feat(capman): don't rate limit per customer for alert referrers (#6035)
Browse files Browse the repository at this point in the history
* feat(capman): don't rate limit per customer for alert referrers

* style(lint): Auto commit lint changes

---------

Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
  • Loading branch information
volokluev and getsantry[bot] authored Jun 24, 2024
1 parent 869e1a7 commit 7201184
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions snuba/query/allocation_policies/concurrent_rate_limit.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@

_PASS_THROUGH_REFERRERS = set(
[
# these referrers are tied to ingest and are better limited by the ReferrerGuardRailPolicy
"subscriptions_executor",
"tsdb-modelid:4.batch_alert_event_frequency",
"tsdb-modelid:4.batch_alert_event_uniq_user_frequency",
"tsdb-modelid:4.batch_alert_event_frequency_percent",
]
)
from snuba.query.allocation_policies import MAX_THRESHOLD, NO_SUGGESTION
Expand Down

0 comments on commit 7201184

Please sign in to comment.