kepler-operator icon indicating copy to clipboard operation
kepler-operator copied to clipboard

Make it possible for OpenShift users to view the kepler metrics of their namespace in the developer console

Open BGrasnick opened this issue 2 years ago • 2 comments

If I understand correctly, as of now only administrators can view the Power Monitoring dashboards that are integrated into the OpenShift Console Observe => Dashboards section. Is it possible to allow users / developers to see the kepler metrics regarding their power consumption in the developer section of the OpenShift Console? What steps need to be taken to achieve this?

Probably adding some label like console.openshift.io/odc-dashboard: 'true' to the grafana-dashboard-k8s-resources-namespace ConfigMap in the openshift-config-managed namespace? And exporting the container namespaces as namespaces? Is this even achievable not to difficultly?

It would be very nice for users of multi tenant OpenShift clusters and could help the productization of kepler inside OpenShift.

BGrasnick avatar Nov 02 '23 17:11 BGrasnick

Any plans or ideas @sthaha @vimalk78 @vprashar2929 @jgbernalp?

BGrasnick avatar Nov 08 '23 08:11 BGrasnick

@BGrasnick That is indeed a great suggestion! I am not sure how straight forward this is going to be. I am not sure if servicemonitor deployed to openshift-kepler-operator can be used to relabel container_namespace to namespace

@simonpasquier do you know if this is possible?

sthaha avatar Nov 09 '23 09:11 sthaha