From d1492ea0c4fbbfce2bf684a35b40a03bc9fa5eba Mon Sep 17 00:00:00 2001 From: Tom Gehrke Date: Mon, 14 Oct 2024 17:36:46 +0200 Subject: [PATCH] update dashboard intervals --- kepler/seed.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/kepler/seed.yaml b/kepler/seed.yaml index 17383b6..35f0003 100644 --- a/kepler/seed.yaml +++ b/kepler/seed.yaml @@ -349,7 +349,7 @@ data: { "datasource": "prometheus", "editorMode": "code", - "expr": "sum by (pod_name, container_namespace) (irate(kepler_container_package_joules_total{container_namespace=~\"$namespace\", pod_name=~\"$pod\"}[1m]))", + "expr": "sum by (pod_name, container_namespace) (irate(kepler_container_package_joules_total{container_namespace=~\"$namespace\", pod_name=~\"$pod\"}[24h:1m]))", "hide": false, "interval": "", "legendFormat": "{{pod_name}} / {{container_namespace}} / PKG", @@ -359,7 +359,7 @@ data: { "datasource": "prometheus", "editorMode": "code", - "expr": "sum by (pod_name, container_namespace) (irate(kepler_container_dram_joules_total{container_namespace=~\"$namespace\", pod_name=~\"$pod\"}[1m]))", + "expr": "sum by (pod_name, container_namespace) (irate(kepler_container_dram_joules_total{container_namespace=~\"$namespace\", pod_name=~\"$pod\"}[24h:1m]))", "hide": false, "interval": "", "legendFormat": "{{pod_name}} / {{container_namespace}} / DRAM", @@ -369,7 +369,7 @@ data: { "datasource": "prometheus", "editorMode": "code", - "expr": "sum by (pod_name, container_namespace) (irate(kepler_container_other_joules_total{container_namespace=~\"$namespace\", pod_name=~\"$pod\"}[1m]))", + "expr": "sum by (pod_name, container_namespace) (irate(kepler_container_other_joules_total{container_namespace=~\"$namespace\", pod_name=~\"$pod\"}[24h:1m]))", "hide": false, "interval": "", "legendFormat": "{{pod_name}} / {{container_namespace}} / OTHER", @@ -379,7 +379,7 @@ data: { "datasource": "prometheus", "editorMode": "code", - "expr": "sum by (pod_name, container_namespace) (irate(kepler_container_gpu_joules_total{container_namespace=~\"$namespace\", pod_name=~\"$pod\"}[1m]))", + "expr": "sum by (pod_name, container_namespace) (irate(kepler_container_gpu_joules_total{container_namespace=~\"$namespace\", pod_name=~\"$pod\"}[24h:1m]))", "hide": false, "legendFormat": "{{pod_name}} / {{container_namespace}} / GPU", "range": true, @@ -529,7 +529,7 @@ data: { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(irate(kepler_container_package_joules_total{container_namespace=~\"$namespace\", pod_name=~\"$pod\"}[1m]))", + "expr": "sum(irate(kepler_container_package_joules_total{container_namespace=~\"$namespace\", pod_name=~\"$pod\"}[24h:1m]))", "hide": false, "interval": "", "legendFormat": "PKG", @@ -539,7 +539,7 @@ data: { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(irate(kepler_container_dram_joules_total{container_namespace=~\"$namespace\", pod_name=~\"$pod\"}[1m]))", + "expr": "sum(irate(kepler_container_dram_joules_total{container_namespace=~\"$namespace\", pod_name=~\"$pod\"}[24h:1m]))", "hide": false, "interval": "", "legendFormat": "DRAM", @@ -549,7 +549,7 @@ data: { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(irate(kepler_container_other_joules_total{container_namespace=~\"$namespace\", pod_name=~\"$pod\"}[1m]))", + "expr": "sum(irate(kepler_container_other_joules_total{container_namespace=~\"$namespace\", pod_name=~\"$pod\"}[24h:1m]))", "hide": false, "legendFormat": "OTHER", "range": true, @@ -558,7 +558,7 @@ data: { "datasource": "prometheus", "editorMode": "code", - "expr": "sum(irate(kepler_container_gpu_joules_total{container_namespace=~\"$namespace\", pod_name=~\"$pod\"}[1m]))", + "expr": "sum(irate(kepler_container_gpu_joules_total{container_namespace=~\"$namespace\", pod_name=~\"$pod\"}[24h:1m]))", "hide": false, "legendFormat": " GPU", "range": true,