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

Number formatting #2982

Open
erikschul opened this issue Nov 22, 2024 · 0 comments
Open

Number formatting #2982

erikschul opened this issue Nov 22, 2024 · 0 comments

Comments

@erikschul
Copy link

Is your feature request related to a problem? Please describe.
In some cases, numbers are hard to read. Example:

image

Describe the solution you'd like

Allow view to be configurable with units:

  • e.g. "123456789" becomes "123M"
  • or specifying a unit "M": "123456789" becomes "123", and "456789" becomes "0" (or always rounding up to avoid misrepresentative zero)

Detection of string that is always a number? Example: VerticalPodAutoscaler memory:

apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
status:
  recommendation:
    containerRecommendations:
    - containerName: coredns
      lowerBound:
        cpu: 15m
        memory: "49561110"
      target:
        cpu: 15m
        memory: "63544758"
      uncappedTarget:
        cpu: 15m
        memory: "63544758"
      upperBound:
        cpu: 24m
        memory: "66958735"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant