elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.48k stars 8.05k forks source link

[Infra UI/Kubernetes] Split CPU and Memory usage views #184984

Open tetianakravchenko opened 1 month ago

tetianakravchenko commented 1 month ago

Now we have one view for the CPU usage and for the Memory usage:

Screenshot 2024-06-07 at 10 03 26

In Kibana code is checked availability of 2 metrics: kubernetes.pod.cpu.usage.node.pct and kubernetes.pod.cpu.usage.limit.pct

kubernetes.pod.cpu.usage.limit.pct represents the pod cpu usage as a ratio of the pod cpu limits kubernetes.pod.cpu.usage.node.pct represents the pod cpu usage as a ratio of the node cpu allocatable (relyin on the metric kubernetes.node.cpu.allocatable.cores)

The same applies to the memory metrics

On the same waffle board are mixed 2 metrics: usage.limit.pct and usage.node.pct, this behavior is misleading.

Screenshot 2024-06-07 at 10 13 23

Describe the feature: My proposal is to split the views (CPU usage and Memory usage) and have 2 view per resource to avoid this confusion and avoid mixing up different metrics on the same board. For cpu: CPU usage per Pod limit - that relies on kubernetes.pod.cpu.usage.limit.pct CPU usage per Node limit - kubernetes.pod.cpu.usage.node.pct memory: Memory usage per Pod limit - kubernetes.memory.cpu.usage.limit.pct Memory usage per Node limit - kubernetes.memory.cpu.usage.node.pct

elasticmachine commented 1 month ago

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

smith commented 1 month ago

Thanks for the suggestions. We'll consider this along with other enhancements we're making to these visualizations.