-
Notifications
You must be signed in to change notification settings - Fork 168
[Improvement] Add the number of unhealthy nodes in CoordinatorMetrics #147
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
Conversation
|
cc @jerqi |
Codecov Report
@@ Coverage Diff @@
## master #147 +/- ##
============================================
+ Coverage 57.20% 57.25% +0.05%
- Complexity 1200 1203 +3
============================================
Files 150 150
Lines 8185 8191 +6
Branches 773 774 +1
============================================
+ Hits 4682 4690 +8
+ Misses 3257 3256 -1
+ Partials 246 245 -1
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
|
Could you add some tests cases in |
|
Could you tell me what needs to be tested. @jerqi Because the current modified method is |
Just add some extra assertion about like We need test whether the metrics are correct. |
|
Because of cross package, the property of |
jerqi
left a comment
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.
Thanks @smallzhongfeng ,LGTM
|
Thanks for your review. @jerqi |
What changes were proposed in this pull request?
To solve #146
Why are the changes needed?
The number of unhealthy nodes can be viewed on the monitoring.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
No need.