-
Notifications
You must be signed in to change notification settings - Fork 8.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
[Metrics Alerts] Add No Data alert #64080
Comments
Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui) |
Continuing discussion from the previous issue:
I'd go with option 2, and it should send the alert the first time it checks for data and can't find any. If the alert interval is set to X minutes then that's how many minutes the user expects is a reasonable amount of time to wait for data, and any deviation from this should be reported. |
I don't think |
|
Yeah I agree @sorantis, it would just require a much more substantial refactor of parts of the alerting plugin than I'd thought in order to achieve that design. I can proceed with that if we think it's worth it. Should we still allow the user to customize the message that's sent when the alert fires? Or have that also be a message generated by the alert executor? |
After some consideration, I think we should set the default alert message to this:
Which would produce something like
or
We could even use this system to send a message when the alert recovers:
This is something we could achieve without refactoring the alerting plugin, and it would reduce a lot of noise in the message box. Users wouldn't have to manually add all their conditions to the alert message, and they could just focus on providing additional context. The only disadvantage is that this would be a breaking change, but I think we can do that since this feature's in beta? |
I like it. I don't think it'll be a big issue to change the template. Perhaps even make it part of 7.7.1? |
Does someone use this feature? I checked it in Kibana 8.4.2, but I didn't get any alerts when no metrics log report for about 10 hours because of network problem . |
Branched off discussion in #61825
Add an
[ ] Alert me if there's no data
checkbox to the alert creation form. If this is checked, the alert should go into a No Data state and fire an action to send a No Data message.By default, this action should send a message on all of the same channels the user has configured for a regular alert. e.g. if the user is receiving Slack messages and emails when the alert fires, also send the No Data notification over Slack and email
The text was updated successfully, but these errors were encountered: