From c99ff6d222ec4ef2229ea13135f738108951a557 Mon Sep 17 00:00:00 2001 From: Juan Carlos Heredia Date: Mon, 19 Aug 2024 14:40:36 +0200 Subject: [PATCH] Arrange columnwidths --- grafana/dashboards/drives.json | 98 +++++++++++++++------------------- 1 file changed, 42 insertions(+), 56 deletions(-) diff --git a/grafana/dashboards/drives.json b/grafana/dashboards/drives.json index 3220e85cb4..0fcdb29d1a 100644 --- a/grafana/dashboards/drives.json +++ b/grafana/dashboards/drives.json @@ -1,14 +1,4 @@ { - "__inputs": [ - { - "name": "DS_TESLAMATE", - "label": "TeslaMate", - "description": "", - "type": "datasource", - "pluginId": "grafana-postgresql-datasource", - "pluginName": "PostgreSQL" - } - ], "__elements": {}, "__requires": [ { @@ -538,7 +528,7 @@ { "datasource": { "type": "grafana-postgresql-datasource", - "uid": "${DS_TESLAMATE}" + "uid": "TeslaMate" }, "fieldConfig": { "defaults": { @@ -559,8 +549,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] } @@ -595,7 +584,7 @@ "value": "auto" }, { - "id": "custom.width", + "id": "custom.minWidth", "value": 180 } ] @@ -619,8 +608,8 @@ "value": "center" }, { - "id": "custom.width", - "value": 150 + "id": "custom.minWidth", + "value": 120 } ] }, @@ -643,8 +632,8 @@ "value": "center" }, { - "id": "custom.width", - "value": 150 + "id": "custom.minWidth", + "value": 120 } ] }, @@ -670,7 +659,7 @@ "id": "custom.align" }, { - "id": "custom.width", + "id": "custom.minWidth", "value": 90 } ] @@ -709,8 +698,7 @@ "mode": "absolute", "steps": [ { - "color": "super-light-green", - "value": null + "color": "super-light-green" }, { "color": "green", @@ -724,7 +712,7 @@ } }, { - "id": "custom.width", + "id": "custom.minWidth", "value": 80 } ] @@ -754,8 +742,8 @@ "value": "auto" }, { - "id": "custom.width", - "value": 250 + "id": "custom.minWidth", + "value": 200 } ] }, @@ -784,8 +772,8 @@ "value": "auto" }, { - "id": "custom.width", - "value": 250 + "id": "custom.minWidth", + "value": 200 } ] }, @@ -811,7 +799,7 @@ "value": 1 }, { - "id": "custom.width", + "id": "custom.minWidth", "value": 70 }, { @@ -826,8 +814,7 @@ "mode": "absolute", "steps": [ { - "color": "super-light-blue", - "value": null + "color": "super-light-blue" }, { "color": "super-light-green", @@ -859,13 +846,13 @@ { "id": "custom.align" }, - { - "id": "custom.width", - "value": 90 - }, { "id": "decimals", "value": 1 + }, + { + "id": "custom.minWidth", + "value": 90 } ] }, @@ -905,8 +892,8 @@ } }, { - "id": "min", - "value": 0 + "id": "custom.minWidth", + "value": 90 } ] }, @@ -955,7 +942,7 @@ "value": 0 }, { - "id": "custom.width", + "id": "custom.minWidth", "value": 90 } ] @@ -1005,7 +992,7 @@ "id": "custom.align" }, { - "id": "custom.width", + "id": "custom.minWidth", "value": 90 } ] @@ -1032,7 +1019,7 @@ "value": 1 }, { - "id": "custom.width", + "id": "custom.minWidth", "value": 70 }, { @@ -1047,8 +1034,7 @@ "mode": "absolute", "steps": [ { - "color": "super-light-blue", - "value": null + "color": "super-light-blue" }, { "color": "super-light-green", @@ -1085,7 +1071,7 @@ "value": 0 }, { - "id": "custom.width", + "id": "custom.minWidth", "value": 90 } ] @@ -1177,7 +1163,7 @@ "value": 0 }, { - "id": "custom.width", + "id": "custom.minWidth", "value": 76 } ] @@ -1200,7 +1186,7 @@ "value": 0 }, { - "id": "custom.width", + "id": "custom.minWidth", "value": 65 } ] @@ -1246,7 +1232,7 @@ ] }, { - "id": "custom.width", + "id": "custom.minWidth", "value": 5 } ] @@ -1292,7 +1278,7 @@ "id": "custom.align" }, { - "id": "custom.width", + "id": "custom.minWidth", "value": 90 } ] @@ -1326,7 +1312,7 @@ "alias": "", "datasource": { "type": "grafana-postgresql-datasource", - "uid": "${DS_TESLAMATE}" + "uid": "TeslaMate" }, "editorMode": "code", "format": "table", @@ -1399,7 +1385,7 @@ { "datasource": { "type": "grafana-postgresql-datasource", - "uid": "${DS_TESLAMATE}" + "uid": "TeslaMate" }, "gridPos": { "h": 2, @@ -1422,7 +1408,7 @@ { "datasource": { "type": "grafana-postgresql-datasource", - "uid": "${DS_TESLAMATE}" + "uid": "TeslaMate" }, "format": "time_series", "group": [], @@ -1457,7 +1443,7 @@ { "datasource": { "type": "grafana-postgresql-datasource", - "uid": "${DS_TESLAMATE}" + "uid": "TeslaMate" }, "description": "", "fieldConfig": { @@ -1512,7 +1498,7 @@ "alias": "", "datasource": { "type": "grafana-postgresql-datasource", - "uid": "${DS_TESLAMATE}" + "uid": "TeslaMate" }, "format": "table", "group": [], @@ -1555,7 +1541,7 @@ "current": {}, "datasource": { "type": "grafana-postgresql-datasource", - "uid": "${DS_TESLAMATE}" + "uid": "TeslaMate" }, "definition": "SELECT name AS __text, id AS __value FROM cars ORDER BY display_priority ASC, name ASC;", "hide": 0, @@ -1579,7 +1565,7 @@ "current": {}, "datasource": { "type": "grafana-postgresql-datasource", - "uid": "${DS_TESLAMATE}" + "uid": "TeslaMate" }, "definition": "SELECT name AS __text, id AS __value FROM geofences ORDER BY name COLLATE \"C\" ASC;", "description": "Start or Destination Geofence", @@ -1621,7 +1607,7 @@ "current": {}, "datasource": { "type": "grafana-postgresql-datasource", - "uid": "${DS_TESLAMATE}" + "uid": "TeslaMate" }, "definition": "select unit_of_temperature from settings limit 1;", "hide": 2, @@ -1644,7 +1630,7 @@ "current": {}, "datasource": { "type": "grafana-postgresql-datasource", - "uid": "${DS_TESLAMATE}" + "uid": "TeslaMate" }, "definition": "select unit_of_length from settings limit 1;", "hide": 2, @@ -1667,7 +1653,7 @@ "current": {}, "datasource": { "type": "grafana-postgresql-datasource", - "uid": "${DS_TESLAMATE}" + "uid": "TeslaMate" }, "definition": "select preferred_range from settings limit 1;", "hide": 2, @@ -1690,7 +1676,7 @@ "current": {}, "datasource": { "type": "grafana-postgresql-datasource", - "uid": "${DS_TESLAMATE}" + "uid": "TeslaMate" }, "definition": "select base_url from settings limit 1;", "hide": 2,