Skip to content

chore(rules): Redesign rule actions#221

Merged
rabbitstack merged 8 commits intomasterfrom
redesign-rule-actions
Dec 19, 2023
Merged

chore(rules): Redesign rule actions#221
rabbitstack merged 8 commits intomasterfrom
redesign-rule-actions

Conversation

@rabbitstack
Copy link
Copy Markdown
Owner

The rule action block defined as a Go template is very unintuitive and hard to grok for users not familiar with the language. Generating an alert should be a default behavior for all rules. This is why we shift from explicit to implicit alert generation. The action block is now an array of predefined response actions, such as kill. When the alert is generated, the rule name is used as its title. For building a more informative alert, the text can be built via the new output element, which accepts filter field expressions.

The rule action block defined
as a Go template is very unintuitive and hard to grok for users not familiar with the language. Generating an alert should be a default behaviour for all rules. This is why we shift from explicit to implicit alert generation. The action block is now an array of predefined response actions, such as `kill`. When the alert is generated, the rule name is used as its title. For building a more informative alert, the text can be built via the new `output` element, which accepts filter fields expressions.
@rabbitstack rabbitstack merged commit 6279563 into master Dec 19, 2023
@rabbitstack rabbitstack deleted the redesign-rule-actions branch December 19, 2023 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant