sentry
sentry copied to clipboard
Creating an alert using `release.stage: adopted` in the Sentry web UI throws a 500 error
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
- Navigate to Alerts > Create Alert > Crash free user rate
- Select a project and environment
- for filters, enter
release.stage:adopted
- Set some thresholds below (I used 99.5 as critical, 99.7 as warning and 99.75 as recovery)
- Name the alert
- Click "Add alert"
Expected Result
The alert should be created and visible in the Alert list.
Actual Result
An error appears in lower right of the screen:
And in the console the message
Failed to load resource: the server responded with a status of 400 ()
us.sentry.io/api/0/organizations/REDACTED/alert-rules/?duplicateRule=false&referrer=alert_stream&sessionId=REDACTED&wizardV3=true:1
Failed to load resource: the server responded with a status of 500 ()
Product Area
Alerts
Link
No response
DSN
No response
Version
No response
Assigning to @getsentry/support for routing ⏲️
Routing to @getsentry/product-owners-alerts for triage ⏲️
@iambriccardo I reproduced this and tracked the error id to this Sentry issue that's assigned to your team, can you take a look? I don't see a telemetry team on GitHub to assign this to.
@iambriccardo - do you have any updates to share on this ticket? Thanks!
Hi, sorry, I completely missed the notification. I will check it out!
There seems to be a bug in UI that let's you add all kinds of filters to session alerts. Session alerts support only a very small subset of filter conditions and I believe release.stage is not one of them. We'll get this fixed 🙏