Closed
Description
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
- Create an Issue Alert in Sentry and add a condition:
The event’s tags match domain is in (comma separated)
- Enter a filter value containing a space (e.g. foo bar), and save the rule.
- Send or capture an event in Sentry with a tag domain="foo bar".
- Wait for the alert - the event will appear in the issues list, but the alert never triggers.
In contrast, if you change the filter to foobar (no space) and send an event tagged domain="foobar", the alert triggers as expected.
Alert rule: https://kismeow.sentry.io/alerts/rules/javascript-rea/16026550/details/
Issue: https://kismeow.sentry.io/issues/6653513404/distributions/?project=4505244102426624&query=is%3Aunresolved%20issue.priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-stream&stream_index=1
Sentry’s documentation on tags only prohibits spaces in tag keys, not values.
Code location:
sentry/src/sentry/rules/match.py
Line 95 in dc5165d
Expected Result
The alert rule should trigger for these events as well
Actual Result
The alert rule doesn't trigger
Product Area
Alerts
Link
No response
DSN
No response
Version
No response
Metadata
Metadata
Assignees
Type
Projects
Status
No status