sustainable-computing-io / kepler-operator

Kepler Operator
Apache License 2.0
25 stars 26 forks source link

kepler:kepler:<rules> not working for grafana dashboard #332

Closed fnoorden closed 9 months ago

fnoorden commented 9 months ago

kepler:kepler: are not working for the grafana dashboard in hack/dashboard/assets/kepler/dashboard.json,

When I replace "kepler:kepler:"with a single "kepler:" it will work.

example: Wrong "expr": "kepler:kepler:container_joules_total:consumed:24h:all $watt_per_second_to_kWh", Right "expr": "kepler:container_joules_total:consumed:24h:all $watt_per_second_to_kWh",

vprashar2929 commented 9 months ago

@fnoorden Are you using operator's release-0.9.2? If yes then the latest dashboard.json might not work as expected since we updated the expression to contain Kepler instance name as well i.e kepler:<instance_name>:container_joules_total....

fnoorden commented 9 months ago

@vprashar2929 That's correct, I am using kepler-operator v0.9.2 from dev-preview channel.

Should I use a different version of the operator?

vprashar2929 commented 9 months ago

For configuring Grafana as of now you can checkout v0.9.2 and setup till the time we have the new operator release

fnoorden commented 9 months ago

Thx a lot