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

feat(dashboard): add detailed node power information #345

Merged

Conversation

sthaha
Copy link
Collaborator

@sthaha sthaha commented Jan 17, 2024

This commit adds a detailed node power information table to the overview dashboard. It also works around the OpenShift dashboard UI bug when rendering tables. The bug is that the first column must have unique values. This caused only a single CPU information to be rendered as kepler_node_info had components_power_source to be the first item in the list which had estimator as the only value.

A similar workaround is applied for "Detailed Node Information" table to have instance as the first field in the prometheus query result.

The issue is better explained in https://issues.redhat.com/browse/OU-309

image

This commit adds a detailed node power information table to the overview
dashboard. It also works around the OpenShift dashboard UI bug when rendering
tables. The bug is that the first column must have unique values. This
caused only a single CPU information to be rendered as
`kepler_node_info` had components_power_source to be the first item in
the list which had `estimator` as the only value.

A similar workaround is applied for "Detailed Node Information" table to
have `instance` as the first field in the prometheus query result.

Signed-off-by: Sunil Thaha <[email protected]>
Copy link
Collaborator

@vprashar2929 vprashar2929 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vprashar2929 vprashar2929 merged commit d23df59 into sustainable-computing-io:v1alpha1 Jan 17, 2024
9 checks passed
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

Successfully merging this pull request may close these issues.

2 participants