Allow creation of Issue alerts that can filter on archived state
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 22h 21m
- Merged PRs (30d)
- 586
Description
### Problem Statement
It's possible that somebody archives an issue incorrectly -- maybe for the wrong threshold, or for the wrong reason. We'd like to be able to detect when we have high-volume but archived issues so that we can address them. Without the ability to write an alert this seems impossible and depends on manually searching issues periodically.
In getsentry/sentry#80076 the fact that this could be done in Discover but not a Metric alert was (accidentally) fixed, which was the main blocker. However, with such a metric alert then the playbook needs to be to go and run some other query to get the actual issue. This also means that the alert must be routed to a central oncall, instead of the owning team for the archived issue.
### Solution Brainstorm
1. I can create an issue alert for incoming events inside an archived issue (with volume >x in past y timeframe) / I can set an issue alert to include archived issues
* this would likely involve more work than metric alerts as the filtering mechanism is different
* this enables a workflow where an alert can directly tell the triaging individual that a certain archived issue is too high volume
### Product Area
Alerts
Contributor guide
Research direction
Begin with existing Issue alert filtering and the archived-state behavior described in getsentry/sentry#80076. Define how archived issues should be included and how volume/timeframe alerts should identify the issue; the issue names no files or tests, so implementation entry points and validation still need to be located.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100