-
Notifications
You must be signed in to change notification settings - Fork 27
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
feat: display cpu/memory requests and limits #47
Conversation
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.
Please check my comments. The logic to display cpu requests and limits should be based on configuration rather than on metric's name pattern.
extensions/resource-metrics/resource-metrics-extention/ui/src/Metrics/Chart/Chart.tsx
Outdated
Show resolved
Hide resolved
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.
Instead of introducing a new SubMetric
attribute we could maybe leverage the existing Threshold
field to accommodate our metrics limit
and request
use-case. Please check my comment for more details.
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.
Please check my comments and add tests validating your changes.
extensions/resource-metrics/resource-metrics-extention/ui/src/Metrics/Chart/Chart.scss
Outdated
Show resolved
Hide resolved
extensions/resource-metrics/resource-metrics-extention/ui/src/Metrics/Chart/Chart.tsx
Outdated
Show resolved
Hide resolved
extensions/resource-metrics/resource-metrics-extention/ui/src/Metrics/client.ts
Outdated
Show resolved
Hide resolved
@schakrad Please update your branch with |
No description provided.