Skip to content

Commit

Permalink
POWERMON-306: fix wrong Prometheus rule reference for OTHER Power Con…
Browse files Browse the repository at this point in the history
…sumption

This commit fixes the issue where the wrong Prometheus rule was referenced
for displaying `OTHER Power Consumption(W) by Pods` in the dashboards

Signed-off-by: vprashar2929 <vibhu.sharma2929@gmail.com>
  • Loading branch information
vprashar2929 committed Jul 17, 2024
1 parent f92aa96 commit 14419d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hack/dashboard/assets/kepler/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@
{
"datasource": "prometheus",
"editorMode": "code",
"expr": "sum by (pod_name) (kepler:kepler:other_joules_watts:1m:by_ns_pod{container_namespace=~\"$namespace\", pod_name=~\"$pod\"})",
"expr": "sum by (pod_name) (kepler:kepler:container_other_watts:1m:by_ns_pod{container_namespace=~\"$namespace\", pod_name=~\"$pod\"})",
"hide": false,
"interval": "5m",
"legendFormat": "{{pod_name}}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@
{
"datasource": "prometheus",
"editorMode": "code",
"expr": "sum by (pod_name) (kepler:kepler:other_joules_watts:1m:by_ns_pod{container_namespace=~\"$namespace\", pod_name=~\"$pod\"})",
"expr": "sum by (pod_name) (kepler:kepler:container_other_watts:1m:by_ns_pod{container_namespace=~\"$namespace\", pod_name=~\"$pod\"})",
"hide": false,
"interval": "",
"legendFormat": "{{pod_name}} }}",
Expand Down

0 comments on commit 14419d5

Please sign in to comment.