Skip to content

Ability to fire actions when an alert instance is resolved #49405

@mikecote

Description

@mikecote

The has been a lot of requests for users wanting to be notified whenever an alert instance is no longer considered "active". The determination of this is done whenever the event log logs a resolved-instance event here.

This issue should add a static action group called resolved that is available to all alert types and allows alert actions to attach themselves to it. This action group should fire using the same logic used to log resolved-instance and should leverage the UI work done in #64077 to add a "Resolved" option to the group dropdown.

NOTE: Some UI work will be blocked until #64077 is finished, the server side work can be done in parallel.

Steps:

Original description

One option is to create some sort of "resolved" action group. Alert actions can assign themselves to this new action group. The new action group would fire when an alert instance stops firing (considered resolved when nothing to alert on anymore).

Another option may be to give the alert type executor the tools it needs to manually mark alert instances as resolved.

Note for docs

User guides will need to be updated for this new feature. Maybe the PagerDuty connector docs should also be updated to indicate how to "resolve" a PagerDuty incident when the alert has recovered.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions