Skip to content

Commit

Permalink
Merge pull request #410 from vprashar2929/fix-other-rule
Browse files Browse the repository at this point in the history
POWERMON-306: fix wrong Prometheus rule reference for OTHER Power Consumption
  • Loading branch information
sthaha authored Jul 22, 2024
2 parents f92aa96 + 14419d5 commit 780d860
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 780d860

Please sign in to comment.