We’ve been developing a new type of alert we’d like your feedback on. Today you can create alerts that are applied to individual Issues – when Sentry receives an event, it checks if alert conditions are satisfied for the Issue containing the event, and notifies you if the conditions match. A couple limitations of this are:
It’s difficult to alert on overall error patterns in a project because conditions are applied to each Issue separately.
It’s difficult to control noise because an alert is generated per Issue that matches the conditions.
Metric alerts aim to alleviate these problems by allowing you to aggregate and set thresholds on all events in your project, regardless of Issue. You can:
Filter on any event tags or attributes
Set separate warning and critical thresholds
Alert when event volume goes below a threshold
Send notifications to email and slack (more integrations coming soon)
View active and resolved alerts in the app
With Sentry’s performance features, metric alerts will also support metrics like latency and throughput soon.
If you’re on SaaS, you can email alerting-feedback@sentry.io to have this enabled for your org.
If you’re running Sentry yourself, this feature isn’t available just yet. Docs are available here.
It would be great to know:
Is this going to be useful to you? If so, in what ways?
We are running an on-premise sentry(version 20.10.0.dev) and want to try this feature. I am not able to figure out how to set this “organizations:incidents” flag? Can you help on how to enable this?
There’s almost never a difference. For metric alerts there were a couple special things needed to make it work for on-prem, so we’re sequencing the rollout.
Metric alerts was a special case as it needs some more Kafka consumers to be set up. We also want to ensure stability for self-hosted Sentry versions as the upgrade cycle for them is much slower (and sometimes people never upgrade them once setup).
You can assume sentry.io to be running on latest master of getsentry/sentry or something very close to that (barring weekends as we don’t usually deploy on weekends).
I don’t expect metric alerts to be available on the upcoming 20.10.0 release as we only have 2 days to make it happen but it should be out by 20.11.0.