tiup icon indicating copy to clipboard operation
tiup copied to clipboard

cluster: display memory usage

Open nexustar opened this issue 3 years ago • 2 comments

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

nexustar avatar Jul 22 '22 09:07 nexustar

[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.

ti-chi-bot avatar Jul 22 '22 09:07 ti-chi-bot

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.

codecov-commenter avatar Jul 22 '22 09:07 codecov-commenter

/merge

nexustar avatar Sep 22 '22 12:09 nexustar

This pull request has been accepted and is ready to merge.

Commit hash: 8b0dd4f582c3ed1bdede7b12db127a56b42ab245

ti-chi-bot avatar Sep 22 '22 12:09 ti-chi-bot

/merge

nexustar avatar Sep 22 '22 12:09 nexustar