diff --git a/config/machine.json b/config/machine.json index dce20c6..2268db3 100644 --- a/config/machine.json +++ b/config/machine.json @@ -88,7 +88,8 @@ "reduceOptions": { "calcs": [ "lastNotNull" - ] + ], + "fields": "/.*/" }, "colorMode": "value", "graphMode": "none" @@ -137,7 +138,8 @@ "reduceOptions": { "calcs": [ "lastNotNull" - ] + ], + "fields": "/.*/" }, "colorMode": "value", "graphMode": "none" @@ -793,7 +795,8 @@ "reduceOptions": { "calcs": [ "lastNotNull" - ] + ], + "fields": "/.*/" }, "colorMode": "value", "graphMode": "area" @@ -1055,4 +1058,4 @@ "title": "template", "uid": null, "version": 1 -} \ No newline at end of file +} diff --git a/config/machineGroup.json b/config/machineGroup.json index 9f916a0..cfe13b8 100644 --- a/config/machineGroup.json +++ b/config/machineGroup.json @@ -61,7 +61,8 @@ "reduceOptions": { "calcs": [ "lastNotNull" - ] + ], + "fields": "/.*/" }, "colorMode": "value", "graphMode": "none" @@ -521,4 +522,4 @@ "title": "template", "uid": null, "version": 1 -} \ No newline at end of file +} diff --git a/config/monster.json b/config/monster.json index 4df423e..d8da093 100644 --- a/config/monster.json +++ b/config/monster.json @@ -22,6 +22,7 @@ "datasource": { "type": "influxdb", "uid": "cdzg44tv250jkd" }, "gridPos": { "h": 5, "w": 8, "x": 0, "y": 1 }, "id": 2, + "options": { "reduceOptions": { "calcs": ["lastNotNull"], "fields": "/.*/" }, "colorMode": "value", "graphMode": "none" }, "targets": [ { "query": "from(bucket: \"${bucket}\")\n |> range(start: -30d)\n |> filter(fn:(r) => r._measurement==\"${measurement}\" and (r._field==\"running\" or r._field==\"pulse\"))\n |> last()", diff --git a/config/pumpingStation.json b/config/pumpingStation.json index 4186506..23f114b 100644 --- a/config/pumpingStation.json +++ b/config/pumpingStation.json @@ -61,7 +61,8 @@ "reduceOptions": { "calcs": [ "lastNotNull" - ] + ], + "fields": "/.*/" }, "colorMode": "value", "graphMode": "none" @@ -168,7 +169,8 @@ "reduceOptions": { "calcs": [ "lastNotNull" - ] + ], + "fields": "/.*/" }, "colorMode": "value", "graphMode": "none" @@ -698,4 +700,4 @@ "title": "template", "uid": null, "version": 1 -} \ No newline at end of file +} diff --git a/config/valve.json b/config/valve.json index b78a808..1ae5fb9 100644 --- a/config/valve.json +++ b/config/valve.json @@ -22,6 +22,7 @@ "datasource": { "type": "influxdb", "uid": "cdzg44tv250jkd" }, "gridPos": { "h": 5, "w": 8, "x": 0, "y": 1 }, "id": 2, + "options": { "reduceOptions": { "calcs": ["lastNotNull"], "fields": "/.*/" }, "colorMode": "value", "graphMode": "none" }, "targets": [ { "query": "from(bucket: \"${bucket}\")\n |> range(start: -30d)\n |> filter(fn:(r) => r._measurement==\"${measurement}\" and (r._field==\"state\" or r._field==\"mode\" or r._field==\"percentageOpen\"))\n |> last()", diff --git a/config/valveGroupControl.json b/config/valveGroupControl.json index 73549e9..4c1adaf 100644 --- a/config/valveGroupControl.json +++ b/config/valveGroupControl.json @@ -22,6 +22,7 @@ "datasource": { "type": "influxdb", "uid": "cdzg44tv250jkd" }, "gridPos": { "h": 5, "w": 8, "x": 0, "y": 1 }, "id": 2, + "options": { "reduceOptions": { "calcs": ["lastNotNull"], "fields": "/.*/" }, "colorMode": "value", "graphMode": "none" }, "targets": [ { "query": "from(bucket: \"${bucket}\")\n |> range(start: -30d)\n |> filter(fn:(r) => r._measurement==\"${measurement}\" and (r._field==\"mode\" or r._field==\"maxDeltaP\"))\n |> last()",