Improve dashboard
Build and Publish / go-binaries (push) Has been skipped
Build and Publish / container-images (push) Has been skipped
Build and Publish / check-chart (push) Successful in 9s
Build and Publish / helm-release (push) Successful in 16s

This commit is contained in:
2026-07-06 11:23:51 -04:00
parent f89e2be74b
commit 5867750437
2 changed files with 26 additions and 11 deletions
+25 -10
View File
@@ -676,7 +676,9 @@
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
"fixedColor": "text",
"mode": "fixed",
"seriesBy": "last"
},
"custom": {
"axisBorderShow": false,
@@ -687,7 +689,7 @@
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 20,
"fillOpacity": 8,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
@@ -695,8 +697,8 @@
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineWidth": 2,
"lineInterpolation": "stepBefore",
"lineWidth": 5,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
@@ -709,21 +711,29 @@
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
"mode": "dashed+area"
}
},
"mappings": [],
"max": 100,
"max": 101,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"color": "dark-red",
"value": 0
},
{
"color": "red",
"color": "dark-orange",
"value": 15
},
{
"color": "#EAB839",
"value": 48
},
{
"color": "green",
"value": 80
}
]
@@ -739,11 +749,14 @@
"y": 6
},
"id": 12,
"interval": "1m",
"maxDataPoints": 100,
"options": {
"legend": {
"calcs": [
"lastNotNull",
"min"
"min",
"mean"
],
"displayMode": "table",
"placement": "bottom",
@@ -762,8 +775,10 @@
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "avg by (econet_friendly_name) (econet_hot_water_availability_percent{econet_friendly_name=~\"$device\"})",
"editorMode": "code",
"expr": "min by (econet_friendly_name) (econet_hot_water_availability_percent{econet_friendly_name=~\"$device\"})[$__interval]",
"legendFormat": "{{econet_friendly_name}}",
"range": true,
"refId": "A"
}
],