-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
[Infrastructure UI][Rules] Specify recovery context for Inventory Threshold rule type #126279
Comments
Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI) |
@ymao1 Is there a way to get the previous alert action group. For example, with the Metric Threshold alerts, there are 2 action groups: |
@simianhacker Yes there is! We keep track of this in the For recovered alerts you can do something like this:
where
Does that work for your use case? |
@ymao1 Yes it does, thank you ❤️ |
HI @simianhacker, I have Kibana v8.3.2 but recovery context is still empty. Looking at the merge date it seems |
The alerting framework has recently merged a PR to provide rule executors with the ability to specify context for recovered alerts. Details are available in the PR and in the alerting README but essentially,
doesSetRecoveryContext
totrue
on the rule type. This allows context variables to appear in the action variable list in the UI for therecovered
action group.Note that currently, we expect the recovered context to match the existing typing for context variables on the rule.
The text was updated successfully, but these errors were encountered: