-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
dashboard supports removing of unhealth machines #168
Conversation
Codecov Report
@@ Coverage Diff @@
## master #168 +/- ##
============================================
+ Coverage 37.69% 37.72% +0.03%
- Complexity 1102 1103 +1
============================================
Files 259 259
Lines 8174 8174
Branches 1113 1113
============================================
+ Hits 3081 3084 +3
+ Misses 4695 4693 -2
+ Partials 398 397 -1
Continue to review full report at Codecov.
|
Hi, we've updated the dashboard (#176) which brings some changes. You'll need to resolve the conflicts and verify it. |
8c11218
to
cb183ff
Compare
merged |
88956b4
to
08cd41a
Compare
@jasonjoo2010 Some more considerations should be taken. Would you like to work on it? See here for more information: #446 (comment) |
Sorry for the latency. This kind of PR conflicts easily each other. |
Feel free to reopen it :) |
Is it Auto removal will take advantage in resource cost. |
And i have one more question: A timestamp from My questions are:
|
Both are okay. The later solution might be better. As some timeout passed the old AppInfo can be evicted. |
For 1, it might be a legacy design. I've reviewed the code where used the |
For consistent design we'd better compare objects having exactly the same reference if there is no specific reason. And after some reading i found the And add new methods to MachineInfo and AppInfo instead of duplicated in current system doing dead machine judgement everywhere(angularjs, java). I add four new configuration as the description said. You can check it before the PR updated. |
dcc75bf
to
cfd36b9
Compare
@sczyh30 All changes have been submitted |
cfd36b9
to
b28b7b2
Compare
3ce0813
to
b7867ef
Compare
sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/config/Config.java
Outdated
Show resolved
Hide resolved
sentinel-dashboard/src/main/java/com/alibaba/csp/sentinel/dashboard/discovery/AppInfo.java
Outdated
Show resolved
Hide resolved
b7867ef
to
3ead8f7
Compare
3ead8f7
to
6210510
Compare
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
Awesome, thanks for contributing! |
…ception Author: lindzh <linsony0@163.com> Closes alibaba#168 from lindzh/fix_print.
New Features
This PR includes:
dead
machineFour New Configurations Introduced
Configuration Sources
Configurations support
System.getProperty()
andSystem.getenv()
.ENV
has the priority.Because for env variables
.
(dot) is not allowed in name it should be replaced into_
.Examples:
Shell
Java
ENV