diff --git a/grafana-central/dashboards/Station/powerconsumption.json b/grafana-central/dashboards/Station/powerconsumption.json index f373f887f77b71a5d9ae4de1d50f5f8a7a6dcc61..60de7c93c8a531781d0ff6d5b87b9c21ca18fd65 100644 --- a/grafana-central/dashboards/Station/powerconsumption.json +++ b/grafana-central/dashboards/Station/powerconsumption.json @@ -25,7 +25,7 @@ "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 20, - "iteration": 1655377230779, + "iteration": 1655377230789, "links": [ { "asDropdown": true, @@ -163,7 +163,7 @@ "exemplar": true, "expr": "device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 > 0", "interval": "", - "legendFormat": "{{name}}: {{x}} / {{y}}", + "legendFormat": "{{y}} / {{x}}", "range": true, "refId": "A" }, @@ -241,7 +241,7 @@ "expr": "avg(device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} > $threshold_amp) * 1000", "instant": false, "interval": "", - "legendFormat": "__auto", + "legendFormat": "{{y}} / {{x}}", "range": true, "refId": "A" } @@ -308,7 +308,7 @@ "expr": "stddev(device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} < $threshold_amp > 0) * 1000", "instant": false, "interval": "", - "legendFormat": "__auto", + "legendFormat": "{{y}} / {{x}}", "range": true, "refId": "A" } @@ -377,7 +377,7 @@ "exemplar": true, "expr": "device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 > 0", "interval": "", - "legendFormat": "RCU {{y}} - antenna {{x}}", + "legendFormat": "{{y}} / {{x}}", "refId": "A" } ], @@ -442,7 +442,7 @@ "expr": "avg(device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 < ($threshold_amp * 1000) > 0)", "instant": false, "interval": "", - "legendFormat": "__auto", + "legendFormat": "{{y}} / {{x}}", "range": true, "refId": "A" } @@ -507,7 +507,7 @@ "exemplar": true, "expr": "stddev(device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 < ($threshold_amp * 1000) > 0)", "interval": "", - "legendFormat": "__auto", + "legendFormat": "{{y}} / {{x}}", "range": true, "refId": "A" } @@ -620,7 +620,7 @@ "exemplar": true, "expr": "device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * 1000 > 0", "interval": "", - "legendFormat": "{{name}}: {{x}} / {{y}}", + "legendFormat": "{{y}} / {{x}}", "range": true, "refId": "A" }, @@ -697,7 +697,7 @@ "exemplar": true, "expr": "avg(device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * 1000 > ($threshold_volt * 1000))", "interval": "", - "legendFormat": "__auto", + "legendFormat": "{{y}} / {{x}}", "range": true, "refId": "A" } @@ -762,7 +762,7 @@ "exemplar": true, "expr": "stddev(device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * 1000 > ($threshold_volt * 1000))", "interval": "", - "legendFormat": "__auto", + "legendFormat": "{{y}} / {{x}}", "range": true, "refId": "A" } @@ -831,7 +831,7 @@ "exemplar": true, "expr": "device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * 1000 > 0", "interval": "", - "legendFormat": "RCU {{y}} - antenna {{x}}", + "legendFormat": "{{y}} / {{x}}", "refId": "A" } ], @@ -895,7 +895,7 @@ "exemplar": true, "expr": "avg(device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * 1000 < ($threshold_volt * 1000) > 0)", "interval": "", - "legendFormat": "__auto", + "legendFormat": "{{y}} / {{x}}", "range": true, "refId": "A" } @@ -960,7 +960,7 @@ "exemplar": true, "expr": "stddev(device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * 1000 < ($threshold_volt * 1000) > 0)", "interval": "", - "legendFormat": "__auto", + "legendFormat": "{{y}} / {{x}}", "range": true, "refId": "A" } @@ -1073,7 +1073,7 @@ "exemplar": true, "expr": "device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * on(x,y) device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 > 0", "interval": "", - "legendFormat": "{{name}}: {{x}} / {{y}}", + "legendFormat": "{{y}} / {{x}}", "range": true, "refId": "A" }, @@ -1150,7 +1150,7 @@ "exemplar": true, "expr": "avg(device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * on(x,y) device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 > ($threshold_watt * 1000))", "interval": "", - "legendFormat": "__auto", + "legendFormat": "{{y}} / {{x}}", "range": true, "refId": "A" } @@ -1215,7 +1215,7 @@ "exemplar": true, "expr": "stddev(device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * on(x,y) device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 > ($threshold_watt * 1000))", "interval": "", - "legendFormat": "__auto", + "legendFormat": "{{y}} / {{x}}", "range": true, "refId": "A" } @@ -1284,7 +1284,7 @@ "exemplar": true, "expr": "device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * on(x,y) device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 > 0", "interval": "", - "legendFormat": "RCU {{y}} - antenna {{x}}", + "legendFormat": "{{y}} / {{x}}", "refId": "A" } ], @@ -1348,7 +1348,7 @@ "exemplar": true, "expr": "avg(device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * on(x,y) device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 < ($threshold_watt * 1000) > 0)", "interval": "", - "legendFormat": "__auto", + "legendFormat": "{{y}} / {{x}}", "range": true, "refId": "A" } @@ -1413,7 +1413,7 @@ "exemplar": true, "expr": "stddev(device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * on(x,y) device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 < ($threshold_watt * 1000) > 0)", "interval": "", - "legendFormat": "__auto", + "legendFormat": "{{y}} / {{x}}", "range": true, "refId": "A" } @@ -1468,42 +1468,22 @@ "RCU_PWR_ANT" ] }, + "definition": "device_attribute{name=~\".*_IOUT_R\"}", "hide": 0, "includeAll": true, "label": "", "multi": true, "name": "measurement", - "options": [ - { - "selected": false, - "text": "All", - "value": "$__all" - }, - { - "selected": false, - "text": "UNB2_DC_DC_48V_12V", - "value": "UNB2_DC_DC_48V_12V" - }, - { - "selected": true, - "text": "RCU_PWR_ANT", - "value": "RCU_PWR_ANT" - }, - { - "selected": false, - "text": "APSPU_RCU2A", - "value": "APSPU_RCU2A" - }, - { - "selected": false, - "text": "APSPU_RCU2D", - "value": "APSPU_RCU2D" - } - ], - "query": "UNB2_DC_DC_48V_12V,RCU_PWR_ANT,APSPU_RCU2A,APSPU_RCU2D", - "queryValue": "", + "options": [], + "query": { + "query": "device_attribute{name=~\".*_IOUT_R\"}", + "refId": "StandardVariableQuery" + }, + "refresh": 1, + "regex": "/.*name=\"(?<text>[^\"]*)_IOUT_R\".*/", "skipUrlSync": false, - "type": "custom" + "sort": 1, + "type": "query" }, { "current": { @@ -1575,6 +1555,6 @@ "timezone": "", "title": "Power Consumption", "uid": "powerconsumption", - "version": 8, + "version": 10, "weekStart": "" }