Skip to content
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

chore: make prepare task configurable #5806

Merged
merged 9 commits into from
Sep 4, 2024
Merged

Conversation

srikanthccv
Copy link
Member

Summary

To be able to support anomaly alerts only in ee #5469 (comment), we need to run a separate manager in ee. The prepareTask function on Manager is responsible for creating different kinds of rules depending on type. We will introduce a new rule type called anomaly and set a custom prepareTask that includes the RuleTypeAnomaly other than RuleTypeProm, RuleTypeThreshold.

@github-actions github-actions bot added the chore label Aug 29, 2024
Base automatically changed from err-cleanup to develop August 30, 2024 13:21
Copy link
Member

@nityanandagohain nityanandagohain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

One question though is that, even though a lock was added previously in prepareTask but was not used, any reason that we add that and didn't use ?

@srikanthccv
Copy link
Member Author

Only amol has knowledge about it. Because it is never used (by setting acquireLock=true) I removed it.

@srikanthccv srikanthccv merged commit be7a687 into develop Sep 4, 2024
12 checks passed
@srikanthccv srikanthccv deleted the prepare-task-configurable branch September 4, 2024 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants