cluster: display memory usage
What problem does this PR solve?
What is changed and how it works?
Check List
Tests
- Unit test
- Integration test
- Manual test (add detailed scripts or steps below)
- No code
Code changes
- Has exported function/method change
- Has exported variable/fields change
- Has interface methods change
- Has persistent data change
Side effects
- Possible performance regression
- Increased code complexity
- Breaking backward compatibility
Related changes
- Need to cherry-pick to the release branch
- Need to update the documentation
Release notes:
NONE
[REVIEW NOTIFICATION]
This pull request has been approved by:
- AstroProfundis
To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.
The full list of commands accepted by this bot can be found here.
Reviewer can indicate their review by submitting an approval review. Reviewer can cancel approval by submitting a request changes review.
Codecov Report
Base: 23.47% // Head: 49.88% // Increases project coverage by +26.41% :tada:
Coverage data is based on head (
5a51a83) compared to base (7e0cd81). Patch coverage: 68.57% of modified lines in pull request are covered.
Additional details and impacted files
@@ Coverage Diff @@
## master #1994 +/- ##
===========================================
+ Coverage 23.47% 49.88% +26.41%
===========================================
Files 285 309 +24
Lines 33266 36233 +2967
===========================================
+ Hits 7808 18073 +10265
+ Misses 24588 16111 -8477
- Partials 870 2049 +1179
| Flag | Coverage Δ | |
|---|---|---|
| cluster | 41.43% <67.69%> (?) |
|
| dm | 23.87% <40.35%> (?) |
|
| playground | 12.99% <0.00%> (?) |
|
| tiup | ? |
|
| unittest | 20.57% <9.09%> (+<0.01%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Impacted Files | Coverage Δ | |
|---|---|---|
| pkg/cluster/operation/action.go | 66.04% <ø> (ø) |
|
| pkg/cluster/operation/check.go | 47.42% <0.00%> (ø) |
|
| pkg/cluster/operation/operation.go | 80.65% <ø> (ø) |
|
| pkg/cluster/manager/display.go | 50.26% <61.76%> (+48.51%) |
:arrow_up: |
| components/cluster/command/display.go | 44.29% <69.23%> (+15.30%) |
:arrow_up: |
| pkg/cluster/operation/systemd.go | 73.91% <78.57%> (ø) |
|
| components/dm/command/display.go | 46.67% <80.00%> (+11.11%) |
:arrow_up: |
| pkg/cluster/spec/instance.go | 65.67% <100.00%> (+47.64%) |
:arrow_up: |
| pkg/cluster/task/action.go | 75.86% <100.00%> (+75.86%) |
:arrow_up: |
| main.go | 0.00% <0.00%> (-100.00%) |
:arrow_down: |
| ... and 254 more |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
/merge
This pull request has been accepted and is ready to merge.
/merge