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

[feat]Enhanced alarm capability, support for alarm de-duplication #3533

Open
yuyu1025 opened this issue Aug 21, 2024 · 0 comments
Open

[feat]Enhanced alarm capability, support for alarm de-duplication #3533

yuyu1025 opened this issue Aug 21, 2024 · 0 comments

Comments

@yuyu1025
Copy link

New feature request: optimized alarm mechanism for timed tasks

Background

Currently, alarms are triggered when timed tasks fail, resulting in frequent alarm messages. Due to the varying repair times, constant alerts may consume system resources and are less useful to users.

Characterization

I propose to optimize the alerting mechanism through similarity analysis. The implementation is as follows:

  • First Alert: sends a first alert when a task fails.
  • Periodic alerts: subsequent similar alert messages are sent after a certain time interval instead of being triggered for each failure.
  • Successful resumption of alerts: sends a notification that an alert has been lifted once the task has been successfully executed.

Example

Consider using time windows and task identifiers to determine similarity and set the interval between alert notifications.

I am willing to contribute relevant code implementations and look forward to discussing this proposal with the community!

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

No branches or pull requests

1 participant