-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Default rate limit for projects #18904
Comments
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
@BYK do you think this is worth to be implemented in the future? |
Routing to @getsentry/owners-ingest for triage. ⏲️ |
makes sense, fyi we added it to our backlog but can't share any updates so far. thanks for raising! |
I would be very much interested by this feature too! |
This feature is crucial to us. We had this ability in OnPrem in the past. |
We would love to have this feature too. We use the SaaS sentry, and our organization has almost 100 projects and we're looking to migrate another 100 or so from our on-premise instance to it. Having a default rate limit or org-wide rate limit will greatly help us prevent run-away projects (that send too many events by accident) from eating up all the quotas. Also note that because we have many projects and the average org-wide event rate is high, the spike protection doesn't really help us in the case where a newly created project sends too many events accidentally. |
This would be useful to us, but for the benefit of anyone who finds this post we have a reasonable workaround.
The body for 3 is taken from the response in 2, it's:
If this ever breaks, it's easy to reverse engineer by editing the rate limit on the key page and watching the request in dev tools. Obviously this is safer on a self-hosted sentry where you can control the upgrades, rather than cloud where it could break at any time. But it's not the end of the world if it does, and presumably you have good alerting using Sentry! |
Based on the suggestion in this comment: getsentry/sentry#18904 (comment)
) * PI-750 Set rate-limit and create alert for Sentry during bootstrap Based on the suggestion in this comment: getsentry/sentry#18904 (comment) * Fix alert creation
We let teams manage and provision their projects, we strive to make as much as we can to be self-service rather than gatekeep. |
I agree with @PickledChris, sensible defaults should be in place. If you have a project that is generating lots of event then you should probably need to be explicit about that. |
+1 to this request. You are unable to control the spending without a default rate limit. |
+1 to this request. |
We still want this as our account has over 200+ projects. |
Routing to @getsentry/product-owners-settings-projects for triage ⏲️ |
This would be a great feature and may help improve uptake of Sentry in larger organizations. The inability to set default rate limits leads to larger orgs having to create processes to limit Sentry project creation to avoid rogue developer's project that consumers too much too quickly. Without the safe defaults, management is left having to put process in that slows down or discourages developers from adopting Sentry to "not rock the boat". |
@abotkin-cpi Thanks a lot for this feedback. We don't have any plans to do this in the next quarter at least but we will keep this issue updated if we work on this cc @gauthamcs |
There is an alternate way to do this. sentry explicitly sets NULL for A postgres before-insert trigger and trigger function can be added which would check for NULLs in these columns and change it to default. Something like:
Verify that the trigger is created:
Create a new project and check the ratelimit for the project. |
Summary
Add a possibility to globally define a default rate limit for projects
Motivation
In the current version of sentry, we can configure a rate limit for the complete instance or manually for each project.
It would be helpful if we could set a rate limit globally that is relevant for each project.
┆Issue is synchronized with this Jira Improvement by Unito
The text was updated successfully, but these errors were encountered: