You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relatively often we have hit an issue which is firing repeatedly which has flooded our quota rendering sentry useless for a month.
Sometimes because it’s part of a websocket operation which fires very regularly other times it has been because of a recursive issue.
One way to stop the issue from flooding our quota while it is not resolved is to “delete and discard” the issue. Is this a good way of avoiding flooding our quota? Ideally we would just like to rate limit on a per error basis such that the same error should never reach above say 500. Once the issue has been resolved, the count resets and regression events count towards a new per issue rate limit. Is there any way to do this?
Thank you for the suggestion. This is a similar request to #27884, asking for “issue-based sampling”.
Let me start by saying that we are aware of this request and do evaluate possible solutions on a regular basis. This is not on our immediate roadmap, so unfortunately we cannot share a timeline or offer a compromise at this point. I’m going to +1 this internally.
#27884 (comment) contains an explanation for the challenges involved. In short, to determine which Issue an event belongs to, Sentry must fully process it and then run a grouping algorithm. This defeats the purpose of rate limiting, which is supposed to prevent exactly that for events that are being dropped later.
Delete and Discard of course came with the same challenge when we introduced it. As Sentry is scaling to larger use cases, we are re-evaluating D&D, and will eventually super-seed it with issue-based sampling.
Quick question: if I delete an event (without clicking discard future events) will future events count towards the quota? If they do still count, is there anyway I can go back and re-delete the event and also discard future events?
If you delete an Issue without clicking "discard future events", then future events will create a new Issue and count towards quota. You can then click "delete and discard" on that new Issue.
Activity
getsentry-release commentedon Sep 23, 2021
Routing to @getsentry/owners-ingest for triage. ⏲️
jan-auer commentedon Sep 24, 2021
Thank you for the suggestion. This is a similar request to #27884, asking for “issue-based sampling”.
Let me start by saying that we are aware of this request and do evaluate possible solutions on a regular basis. This is not on our immediate roadmap, so unfortunately we cannot share a timeline or offer a compromise at this point. I’m going to +1 this internally.
#27884 (comment) contains an explanation for the challenges involved. In short, to determine which Issue an event belongs to, Sentry must fully process it and then run a grouping algorithm. This defeats the purpose of rate limiting, which is supposed to prevent exactly that for events that are being dropped later.
Delete and Discard of course came with the same challenge when we introduced it. As Sentry is scaling to larger use cases, we are re-evaluating D&D, and will eventually super-seed it with issue-based sampling.
mfbx9da4 commentedon Sep 24, 2021
Thanks for your response!
Quick question: if I delete an event (without clicking discard future events) will future events count towards the quota? If they do still count, is there anyway I can go back and re-delete the event and also discard future events?
jan-auer commentedon Oct 5, 2021
If you delete an Issue without clicking "discard future events", then future events will create a new Issue and count towards quota. You can then click "delete and discard" on that new Issue.
mfbx9da4 commentedon Oct 5, 2021
That's great thank you! Shame there is no way to programmatically delete and discard.
jernejstrasner commentedon Mar 30, 2023
Closing due to inactivity.