Comments (6)
Whoops. Sorry about that. We'll merge #118 then.
Thanks everybody for raising the issue!
from kubernetes-mixin.
I'm not entirely sure what the best aggregate with this is. Comparing the graphs with sum
and avg
I can't see it making a big difference. Only the scale seems to vary quite a bit, with the same spike going to 0.42
with sum and 0.058
with avg.
@tomwilkie do you have any insights into this one? You originally worked on this Node dashboard.
from kubernetes-mixin.
A cpu core is being "used" if it is not in an idle state. The only way to calculate the percentage of time the core is being used is to sum the amount of time spent in all other CPU states.
If a single process thread is using 100% of a CPU
You would have the following datapoints
CPU State | rate |
---|---|
user | 1.0 |
system | 0 |
iowait | 0 |
nice | 0 |
irq | 0 |
softirq | 0 |
steal | 0 |
If you used 'avg', the CPU utilization would be incorrectly reported as 14.28%. (100 + 0 + 0 + 0 + 0 + 0 + 0) / 7
from kubernetes-mixin.
That makes a lot of sense. I will wait for some more comments and then go ahead with merging #132
from kubernetes-mixin.
Hey, just saying, that exact PR is open since about a month.... #118
from kubernetes-mixin.
Closing as fixed by #118
from kubernetes-mixin.
Related Issues (20)
- Show the node name when it exists (instead of selecting by IP address)
- build the mixin using make fails HOT 3
- compatibilty of release-0.10 (and older) with KSM 2.0+
- Causes an issue when showMultiCluster and multiple prometheus replicas HOT 2
- Add support for joining labels into alerts from kube_XXX_labels metrics HOT 2
- overwrite the default "cluster" variable query HOT 1
- Memory quota panel: memory limits % must include cache
- Customize generated alerts by cluster
- Migrate apiserver request latency metric to `apiserver_request_sli_duration_seconds` HOT 3
- Potentially incorrect aggregation on node_namespace_pod_container:container_memory_working_set_bytes HOT 2
- KubeletTooManyPods should not be info.
- KubeAPIDown not working as intended if targets a set of clusters
- Two Questions about diskDeviceSelector
- Make KubeCPUOvercommit indulgent with cluster autoscaler
- KubeDeploymentReplicasMismatch does not alert on mismatched replicaset HOT 1
- KubePodNotReady alert doesn't actually check pod readiness
- How to disable clusterLabel?
- na
- Add cluster label to CPUThrottling alert when showMultiCluster enabled
- Some rules won't work properly on m3db/prometheus and will only work on victoriametrics
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubernetes-mixin.