-
Notifications
You must be signed in to change notification settings - Fork 109
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
add more metrics in kcmas #169
Conversation
5b6b801
to
edc107b
Compare
edc107b
to
0dd334d
Compare
} | ||
|
||
for pool, pods := range pool2Pods { | ||
v := n.metaServer.AggregatePodMetric(pods, pkgconsts.MetricCPUUsage, metric.AggregatorAvg, metric.DefaultContainerMetricFilter) |
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.
typo? should be metric.AggregatorSum?
And cpu.load is different from cpu.usage
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.
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
1ed02a0
to
f33ebd0
Compare
f33ebd0
to
9d3580c
Compare
Codecov ReportPatch coverage:
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
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
7fc1ddb
to
c351ba3
Compare
* add more metric for kcmas and refine implementation for malachite fetcher * add locks for registerred metric fetcher
What type of PR is this?
enhancements
What this PR does / why we need it:
add more metrics in kcmas