From 4645c5d5a19c95383693cdf00aac551905c3e91d Mon Sep 17 00:00:00 2001 From: Ryan McGuire Date: Sun, 5 Jul 2026 21:15:33 -0400 Subject: [PATCH] improve dashboard --- helm/Chart.yaml | 2 +- helm/dashboards/econet-exporter.json | 19 +++++++++++++++---- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/helm/Chart.yaml b/helm/Chart.yaml index b896e93..1c1594b 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.4 +version: 0.2.5 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/helm/dashboards/econet-exporter.json b/helm/dashboards/econet-exporter.json index 9c64ebf..c897157 100644 --- a/helm/dashboards/econet-exporter.json +++ b/helm/dashboards/econet-exporter.json @@ -251,9 +251,9 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "max by (econet_friendly_name) (econet_running{econet_friendly_name=~\"$device\"})", + "expr": "max by (econet_running_state) (econet_running{econet_friendly_name=~\"$device\"})", "instant": true, - "legendFormat": "{{econet_friendly_name}}", + "legendFormat": "{{econet_running_state}}", "refId": "A" } ], @@ -1120,11 +1120,22 @@ "type": "prometheus", "uid": "${datasource}" }, - "expr": "max by (econet_friendly_name) (econet_running{econet_friendly_name=~\"$device\"})", - "legendFormat": "{{econet_friendly_name}}", + "expr": "max by (econet_running_state) (econet_running{econet_friendly_name=~\"$device\"})", + "legendFormat": "{{econet_running_state}}", "refId": "A" } ], + "transformations": [ + { + "id": "filterFieldsByName", + "options": { + "byVariable": false, + "include": { + "pattern": "^[^V]+" + } + } + } + ], "title": "Heating Timeline", "type": "state-timeline" },