Repository navigation
Show CPU in cores at 1 core and above (64 instead of 64000m) #974
Closed
TomerKarniol
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Problem
CPU is always shown in millicores, while memory switches to
Gi. In:nodeson a large node, memory reads251.4Gibut CPU reads64000m. That's hard to scan, and the two columns follow different rules.fmt_cpuinsrc/columns.rsalways formats as{milli}m.docs/views.mddescribes this on purpose ("4becomes4000m"), so I'm asking before changing it.Proposal
Format CPU the way Kubernetes writes quantities, and the way
kubectl top nodesshows them:250m250m1000m11500m1.51234m1.2364000m64cpu>2).Scope
fmt_cpu, so it covers the node and pod CPU columns, the right-size view, and the container trend scale insrc/ui.rs.docs/views.md,docs/features.md) would be updated in the same PR.All reactions