From fca94cde94ee42298ba42d9e3e08490483befe9d Mon Sep 17 00:00:00 2001 From: Danijel Simeunovic Date: Mon, 23 Mar 2026 11:41:13 +0100 Subject: [PATCH] fix --- infra/values/grafana-values.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infra/values/grafana-values.yaml b/infra/values/grafana-values.yaml index bb4b16a..0815bc6 100644 --- a/infra/values/grafana-values.yaml +++ b/infra/values/grafana-values.yaml @@ -3884,8 +3884,9 @@ dashboards: "type": "prometheus", "uid": "${datasource}" }, - "expr": "sum(\n avg(avg_over_time(pv_hourly_cost[$timeRange] offset 1m)) by (persistentvolume) * 730 \n * avg(avg_over_time(kube_persistentvolume_capacity_bytes[$timeRange] offset 1m)) by (persistentvolume) / 1024 / 1024 / 1024\n) +\nsum(avg(container_fs_limit_bytes{device!=\"tmpfs\", id=\"/\"}) by (instance) / 1024 / 1024 / 1024) * $localStorageGBCost", + "expr": "sum(avg(pv_hourly_cost) by (persistentvolume) * 730 * avg(kube_persistentvolume_capacity_bytes) by (persistentvolume) / 1024 / 1024 / 1024) +\n(sum(sum(container_fs_limit_bytes{device!=\"tmpfs\", id=\"/\"}) by (instance) / 1024 / 1024 / 1024) * $localStorageGBCost OR on() vector(0))", "format": "time_series", + "instant": true, "intervalFactor": 1, "legendFormat": "storage", "refId": "C"