Skip to content
Snippets Groups Projects
Commit 60561b68 authored by Jan David Mol's avatar Jan David Mol
Browse files

Fixed legends, query for all power consumption attributes

parent d7a82cd8
Branches
Tags
No related merge requests found
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
"fiscalYearStartMonth": 0, "fiscalYearStartMonth": 0,
"graphTooltip": 0, "graphTooltip": 0,
"id": 20, "id": 20,
"iteration": 1655377230779, "iteration": 1655377230789,
"links": [ "links": [
{ {
"asDropdown": true, "asDropdown": true,
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
"exemplar": true, "exemplar": true,
"expr": "device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 > 0", "expr": "device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 > 0",
"interval": "", "interval": "",
"legendFormat": "{{name}}: {{x}} / {{y}}", "legendFormat": "{{y}} / {{x}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
}, },
...@@ -241,7 +241,7 @@ ...@@ -241,7 +241,7 @@
"expr": "avg(device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} > $threshold_amp) * 1000", "expr": "avg(device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} > $threshold_amp) * 1000",
"instant": false, "instant": false,
"interval": "", "interval": "",
"legendFormat": "__auto", "legendFormat": "{{y}} / {{x}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
...@@ -308,7 +308,7 @@ ...@@ -308,7 +308,7 @@
"expr": "stddev(device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} < $threshold_amp > 0) * 1000", "expr": "stddev(device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} < $threshold_amp > 0) * 1000",
"instant": false, "instant": false,
"interval": "", "interval": "",
"legendFormat": "__auto", "legendFormat": "{{y}} / {{x}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
...@@ -377,7 +377,7 @@ ...@@ -377,7 +377,7 @@
"exemplar": true, "exemplar": true,
"expr": "device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 > 0", "expr": "device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 > 0",
"interval": "", "interval": "",
"legendFormat": "RCU {{y}} - antenna {{x}}", "legendFormat": "{{y}} / {{x}}",
"refId": "A" "refId": "A"
} }
], ],
...@@ -442,7 +442,7 @@ ...@@ -442,7 +442,7 @@
"expr": "avg(device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 < ($threshold_amp * 1000) > 0)", "expr": "avg(device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 < ($threshold_amp * 1000) > 0)",
"instant": false, "instant": false,
"interval": "", "interval": "",
"legendFormat": "__auto", "legendFormat": "{{y}} / {{x}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
...@@ -507,7 +507,7 @@ ...@@ -507,7 +507,7 @@
"exemplar": true, "exemplar": true,
"expr": "stddev(device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 < ($threshold_amp * 1000) > 0)", "expr": "stddev(device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 < ($threshold_amp * 1000) > 0)",
"interval": "", "interval": "",
"legendFormat": "__auto", "legendFormat": "{{y}} / {{x}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
...@@ -620,7 +620,7 @@ ...@@ -620,7 +620,7 @@
"exemplar": true, "exemplar": true,
"expr": "device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * 1000 > 0", "expr": "device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * 1000 > 0",
"interval": "", "interval": "",
"legendFormat": "{{name}}: {{x}} / {{y}}", "legendFormat": "{{y}} / {{x}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
}, },
...@@ -697,7 +697,7 @@ ...@@ -697,7 +697,7 @@
"exemplar": true, "exemplar": true,
"expr": "avg(device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * 1000 > ($threshold_volt * 1000))", "expr": "avg(device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * 1000 > ($threshold_volt * 1000))",
"interval": "", "interval": "",
"legendFormat": "__auto", "legendFormat": "{{y}} / {{x}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
...@@ -762,7 +762,7 @@ ...@@ -762,7 +762,7 @@
"exemplar": true, "exemplar": true,
"expr": "stddev(device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * 1000 > ($threshold_volt * 1000))", "expr": "stddev(device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * 1000 > ($threshold_volt * 1000))",
"interval": "", "interval": "",
"legendFormat": "__auto", "legendFormat": "{{y}} / {{x}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
...@@ -831,7 +831,7 @@ ...@@ -831,7 +831,7 @@
"exemplar": true, "exemplar": true,
"expr": "device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * 1000 > 0", "expr": "device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * 1000 > 0",
"interval": "", "interval": "",
"legendFormat": "RCU {{y}} - antenna {{x}}", "legendFormat": "{{y}} / {{x}}",
"refId": "A" "refId": "A"
} }
], ],
...@@ -895,7 +895,7 @@ ...@@ -895,7 +895,7 @@
"exemplar": true, "exemplar": true,
"expr": "avg(device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * 1000 < ($threshold_volt * 1000) > 0)", "expr": "avg(device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * 1000 < ($threshold_volt * 1000) > 0)",
"interval": "", "interval": "",
"legendFormat": "__auto", "legendFormat": "{{y}} / {{x}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
...@@ -960,7 +960,7 @@ ...@@ -960,7 +960,7 @@
"exemplar": true, "exemplar": true,
"expr": "stddev(device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * 1000 < ($threshold_volt * 1000) > 0)", "expr": "stddev(device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * 1000 < ($threshold_volt * 1000) > 0)",
"interval": "", "interval": "",
"legendFormat": "__auto", "legendFormat": "{{y}} / {{x}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
...@@ -1073,7 +1073,7 @@ ...@@ -1073,7 +1073,7 @@
"exemplar": true, "exemplar": true,
"expr": "device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * on(x,y) device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 > 0", "expr": "device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * on(x,y) device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 > 0",
"interval": "", "interval": "",
"legendFormat": "{{name}}: {{x}} / {{y}}", "legendFormat": "{{y}} / {{x}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
}, },
...@@ -1150,7 +1150,7 @@ ...@@ -1150,7 +1150,7 @@
"exemplar": true, "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))", "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": "", "interval": "",
"legendFormat": "__auto", "legendFormat": "{{y}} / {{x}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
...@@ -1215,7 +1215,7 @@ ...@@ -1215,7 +1215,7 @@
"exemplar": true, "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))", "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": "", "interval": "",
"legendFormat": "__auto", "legendFormat": "{{y}} / {{x}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
...@@ -1284,7 +1284,7 @@ ...@@ -1284,7 +1284,7 @@
"exemplar": true, "exemplar": true,
"expr": "device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * on(x,y) device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 > 0", "expr": "device_attribute{host=\"$station\",name=\"${measurement}_VOUT_R\"} * on(x,y) device_attribute{host=\"$station\",name=\"${measurement}_IOUT_R\"} * 1000 > 0",
"interval": "", "interval": "",
"legendFormat": "RCU {{y}} - antenna {{x}}", "legendFormat": "{{y}} / {{x}}",
"refId": "A" "refId": "A"
} }
], ],
...@@ -1348,7 +1348,7 @@ ...@@ -1348,7 +1348,7 @@
"exemplar": true, "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)", "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": "", "interval": "",
"legendFormat": "__auto", "legendFormat": "{{y}} / {{x}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
...@@ -1413,7 +1413,7 @@ ...@@ -1413,7 +1413,7 @@
"exemplar": true, "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)", "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": "", "interval": "",
"legendFormat": "__auto", "legendFormat": "{{y}} / {{x}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
} }
...@@ -1468,42 +1468,22 @@ ...@@ -1468,42 +1468,22 @@
"RCU_PWR_ANT" "RCU_PWR_ANT"
] ]
}, },
"definition": "device_attribute{name=~\".*_IOUT_R\"}",
"hide": 0, "hide": 0,
"includeAll": true, "includeAll": true,
"label": "", "label": "",
"multi": true, "multi": true,
"name": "measurement", "name": "measurement",
"options": [ "options": [],
{ "query": {
"selected": false, "query": "device_attribute{name=~\".*_IOUT_R\"}",
"text": "All", "refId": "StandardVariableQuery"
"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"
}, },
{ "refresh": 1,
"selected": false, "regex": "/.*name=\"(?<text>[^\"]*)_IOUT_R\".*/",
"text": "APSPU_RCU2D",
"value": "APSPU_RCU2D"
}
],
"query": "UNB2_DC_DC_48V_12V,RCU_PWR_ANT,APSPU_RCU2A,APSPU_RCU2D",
"queryValue": "",
"skipUrlSync": false, "skipUrlSync": false,
"type": "custom" "sort": 1,
"type": "query"
}, },
{ {
"current": { "current": {
...@@ -1575,6 +1555,6 @@ ...@@ -1575,6 +1555,6 @@
"timezone": "", "timezone": "",
"title": "Power Consumption", "title": "Power Consumption",
"uid": "powerconsumption", "uid": "powerconsumption",
"version": 8, "version": 10,
"weekStart": "" "weekStart": ""
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment