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
Support dynamically configure alarm settings #3557
Support dynamically configure alarm settings #3557
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One core requirement for this, the alarm running context should be updated only if it exists before. The key is, the running context should be changed rule by rule.
CI failing? I am going to review this tomorrow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the document, I would suggest we need to update document
- New dynamic settings for alarm.
- Alarm cached data will be lost if alarm rule changes. Such as changing period from 5 to 10, will make last 5 mins cache data lost. This makes the alarm cache data started now.
...in/src/main/java/org/apache/skywalking/oap/server/core/alarm/provider/AlarmRulesWatcher.java
Show resolved
Hide resolved
.../src/test/java/org/apache/skywalking/oap/server/core/alarm/provider/WebhookCallbackTest.java
Outdated
Show resolved
Hide resolved
Fix potential CI failure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I think you should send a notification mail to dev mail list about this new and important feature in 6.5.0.
Thank you very much!We really need this feature! |
Thank you very much! @kezhenxu94 @wu-sheng |
Please answer these questions before submitting pull request
Why submit this pull request?
Bug fix
New feature provided
Improve performance
Related issues
closes #3467