#Metric alerts are not firing
1 messages · Page 1 of 1 (latest)
Based on the knowledge sources, there are several potential reasons why your metric alerts might not be firing even when the graph shows the threshold being exceeded:
-
Environment specification issues: If you've specified an environment in your alert rule, this can sometimes prevent alerts from firing correctly. This was a known bug with performance alerts that had an environment specified, though it has been fixed in newer versions.
Github Issue: Transaction Duration Metric Alerts not being triggered when an environment is selected -
Timing and evaluation windows: Alerts evaluate data in specific time windows, and there might be a delay between when events occur and when they're processed for alerting. The graph might show data that arrived after the alert evaluation occurred.
Github Issue: Metric alerts to consider events appearance lag -
Kafka issues (for self-hosted instances): If you're running a self-hosted Sentry instance, Kafka offset problems can prevent alerts from firing. One user resolved this by resetting the offsets with
kafka-consumer-groups --bootstrap-server 127.0.0.1:9092 --group snuba-post-processor --topic events --reset-offsets --to-latest.
Github Issue: Alerts not firing even with matching issues -
Region-specific issues: There have been instances where metric alerts didn't fire for organizations in specific regions (like EU). This was a bug that has been fixed.
Github Issue: Metric Alerts are not triggering for EU orgs
-
Release stage tag incompatibility: If you're using tags like
release.stage:adoptedin your alert query with short time intervals (less than 1 hour), this might not work because release stage is evaluated hourly.
Github Issue: Alert on "users experiencing errors" not triggering -
Data delay: Sometimes there's a delay in data showing up because of how events-stats processes data buckets.
Github Issue: Creating custom metrics alerts is flaky on DE region -
System-wide issues: Occasionally there have been incidents affecting alert triggering across the platform.
Github Issue: INC-454 Add more monitoring around alerts firing