Changing alert to only notify for level >= warning wilters out everything
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 22h 21m
- Merged PRs (30d)
- 586
Description
### Environment
SaaS (https://sentry.io/)
### Steps to Reproduce
I have an alert which shows several errors and warnings in the preview. However if i add 'level greater or equal than warning' the preview becomes empty and I dont understand why. See the attached screenshots.



It seems that the this might be an unintended side effect of the when clauuse. If you change that to "A new issue is created" the preview does seem to work as expected with the level filter.
### Product Area
Alerts
### Link
_No response_
### DSN
_No response_
### Version
_No response_
Contributor guide
Research direction
Reproduce the alert preview described in the issue, comparing the level >= warning filter with the different When conditions. Start by investigating the Alerts preview behavior and its handling of the level filter. Done means the preview continues to show matching warnings and errors when the filter is applied.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- observability-sre
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100