sustainable-computing-io / kepler-operator

Kepler Operator
Apache License 2.0
25 stars 26 forks source link

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

Open BGrasnick opened 10 months ago

BGrasnick commented 10 months ago

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 commented 10 months ago

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

sthaha commented 10 months ago

@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?