-
Notifications
You must be signed in to change notification settings - Fork 26
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
[close #287] fix alertmanager for tikv-cdc #288
Conversation
Signed-off-by: zeminzhou <[email protected]>
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
@@ -2,111 +2,99 @@ groups: | |||
- name: alert.rules | |||
rules: | |||
- alert: cdc_multiple_owners | |||
expr: sum(rate(ticdc_owner_ownership_counter[30s])) >= 2 |
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.
Suggest:
- Rename the file to
tikv-cdc.rules.yml
. - Change the alert names to avoid conflict with TiCDC.
- Change "cdc" to "TiKV-CDC" in
summary
to avoid misunstanding of user.
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.
Good suggest, modified, thanks!
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #288 +/- ##
================================================
+ Coverage 54.4448% 54.6869% +0.2421%
================================================
Files 238 238
Lines 20237 20237
================================================
+ Hits 11018 11067 +49
+ Misses 8341 8273 -68
- Partials 878 897 +19
*This pull request uses carry forward flags. Click here to find out more.
|
Signed-off-by: zeminzhou <[email protected]>
Signed-off-by: zeminzhou <[email protected]>
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~
/verify |
Signed-off-by: zeminzhou [email protected]
What problem does this PR solve?
Issue Number: close #287
Problem Description: TBD
What is changed and how does it work?
ticdc -> tikv-cdc
Code changes
Check List for Tests
This PR has been tested by at least one of the following methods:
Side effects
Related changes