Skip to content
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

add more metrics in kcmas #169

Merged

Conversation

waynepeking348
Copy link
Collaborator

What type of PR is this?

enhancements

What this PR does / why we need it:

add more metrics in kcmas

@waynepeking348 waynepeking348 added workflow/merge-hold merge-hold: code is ready but still has dependency enhancement New feature or request labels Jul 26, 2023
@waynepeking348 waynepeking348 self-assigned this Jul 26, 2023
}

for pool, pods := range pool2Pods {
v := n.metaServer.AggregatePodMetric(pods, pkgconsts.MetricCPUUsage, metric.AggregatorAvg, metric.DefaultContainerMetricFilter)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo? should be metric.AggregatorSum?
And cpu.load is different from cpu.usage

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo? should be metric.AggregatorSum? And cpu.load is different from cpu.usage

yeah, this pr is still in holding state, I will testing this before change it as need-label

@waynepeking348 waynepeking348 force-pushed the refine-malachite-and-fix-bugs branch 3 times, most recently from 1ed02a0 to f33ebd0 Compare July 30, 2023 09:14
@codecov
Copy link

codecov bot commented Jul 30, 2023

Codecov Report

Patch coverage: 66.97% and project coverage change: +51.29% 🎉

Comparison is base (4e5a93d) 0.00% compared to head (c351ba3) 51.29%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##           main     #169       +/-   ##
=========================================
+ Coverage      0   51.29%   +51.29%     
=========================================
  Files         0      420      +420     
  Lines         0    40509    +40509     
=========================================
+ Hits          0    20779    +20779     
- Misses        0    17456    +17456     
- Partials      0     2274     +2274     
Flag Coverage Δ
unittest 51.29% <66.97%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
pkg/agent/sysadvisor/metacache/metacache.go 75.57% <ø> (ø)
...sysadvisor/plugin/metric-emitter/syncer/pod/pod.go 66.44% <ø> (ø)
pkg/metaserver/agent/metric/fake_metric.go 66.07% <30.00%> (ø)
...visor/plugin/metric-emitter/syncer/node/advisor.go 34.28% <34.28%> (ø)
pkg/metaserver/agent/metric/malachite/fetcher.go 53.37% <50.00%> (ø)
...ver/agent/metric/malachite/client/client_cgroup.go 64.00% <70.00%> (ø)
...server/agent/metric/malachite/client/client_pod.go 74.28% <74.28%> (ø)
...ver/agent/metric/malachite/client/client_system.go 54.11% <86.66%> (ø)
...sadvisor/plugin/metric-emitter/syncer/node/node.go 53.48% <100.00%> (ø)
pkg/metaserver/agent/agent.go 76.13% <100.00%> (ø)
... and 3 more

... and 407 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@waynepeking348 waynepeking348 added workflow/merge-ready merge-ready: code is ready and can be merged workflow/need-review review: test succeeded, need to review and removed workflow/merge-hold merge-hold: code is ready but still has dependency labels Jul 30, 2023
@waynepeking348 waynepeking348 merged commit 71cad3a into kubewharf:main Jul 31, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request workflow/merge-ready merge-ready: code is ready and can be merged workflow/need-review review: test succeeded, need to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants