-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[Fix-16903] Fix monitor page cannot display well #16968
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.
Frontend build failed. @ruanwenjun
b33e941
to
02f0164
Compare
39e4b5c
to
4afbcd4
Compare
...r-registry-jdbc/src/main/java/org/apache/dolphinscheduler/plugin/registry/jdbc/KeyUtils.java
Outdated
Show resolved
Hide resolved
...r-registry-jdbc/src/main/java/org/apache/dolphinscheduler/plugin/registry/jdbc/KeyUtils.java
Outdated
Show resolved
Hide resolved
4afbcd4
to
bdd3ee4
Compare
bdd3ee4
to
f77a616
Compare
Please retry analysis of this Pull-Request directly on SonarQube Cloud |
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
@@ -74,6 +77,9 @@ public SystemMetrics getSystemMetrics() { | |||
.systemMemoryUsed(totalSystemMemory - systemMemoryAvailable) | |||
.systemMemoryMax(totalSystemMemory) | |||
.systemMemoryUsedPercentage((double) (totalSystemMemory - systemMemoryAvailable) / totalSystemMemory) | |||
.diskUsed(diskToTalBytes - diskFreeBytes) | |||
.diskTotal(diskToTalBytes) | |||
.diskUsedPercentage((diskToTalBytes - diskFreeBytes) / diskToTalBytes) |
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.
nothing but want to make sure we store as float in stock and render as '\d %' right?
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.
Purpose of the pull request
close #16903
Brief change log
Verify this pull request
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(or)
Pull Request Notice
Pull Request Notice
If your pull request contains incompatible change, you should also add it to
docs/docs/en/guide/upgrade/incompatible.md