-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Notify if an alert is triggered regardless of previous state #6685
Comments
Seems like a reasonable thing to configure. |
You would certainly need some form of minimum notification interval before enabling this. |
I have another slightly different use case for this. I have multiple series in a graph: https://snapshot.raintank.io/dashboard/snapshot/V6cQW9mzHHfnDJHKgNKbyyCfzp4nZSBy When the first reaches the alert level, everything goes smooth, but when the second reaches the alert level, it doesn't flip the alert state, and thus doesn't trigger anything. It'd be useful though :) An idea how to go about this: a per-alert "notification id", which can use variables to distinguish between the desired alerts. In my graph above, I'd set the notification id to |
Prrety much same as #7330. +1 |
Is there a status update on this feature? Any upcoming release we can expect it in? |
Closing this since its very simular to #6685 By configuring frequency/min-delay to 0 should all the notifier to execute on every evaluation. |
@lgierth I hava the same problem with you. |
I have a metric that I want to evaluate every 24 hours and if it crosses a threshold generate the alert regardless of whether the alert was generated in the previous evaluation. I am confused about what it means to set frequency to 0. Is the feature to repeat an alert implemented or not? What version? |
Workaround: generate zero/one periodic signal and multiply original query with this query. You'll get dummy clear. |
Grafana v4.0.0-beta2
InfluxDB
Ubuntu 14.04
It appears that (after performing tests and looking at code) notifications are only fired when an alert's state changes.
I'm not sure if this is on the roadmap/radar but it would be good to be able to send the notification as long as it evaluates to alerting, regardless of the previous state. The concern here is that the alert notification goes unnoticed, and in the worst case, the time to discovery becomes very long. With repeat alerts, the hope is that the chance of missing it drops for each repeated alarm.
grafana/pkg/services/alerting/result_handler.go
Lines 53 to 89 in 05d4399
I'm not sure if this is on the roadmap/radar but it would be great to be able to send the notification as long as the alert evaluates to true, regardless of the previous state. For reference, this is a configurable option of Kapacitor:
https://github.com/influxdata/kapacitor/blob/master/etc/kapacitor/kapacitor.conf#L274
The text was updated successfully, but these errors were encountered: