From 5bb32babcc881cd4a8289e2df8570695c070c397 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Tue, 6 Jul 2021 21:38:39 +0200 Subject: [PATCH] update dashboard color settings --- .../dashboards/internet-connection.json | 123 ++++++++++++------ 1 file changed, 82 insertions(+), 41 deletions(-) diff --git a/grafana/provisioning/dashboards/internet-connection.json b/grafana/provisioning/dashboards/internet-connection.json index 48741e9..80c7e60 100644 --- a/grafana/provisioning/dashboards/internet-connection.json +++ b/grafana/provisioning/dashboards/internet-connection.json @@ -17,6 +17,7 @@ "editable": true, "gnetId": null, "graphTooltip": 0, + "id": 1, "links": [], "panels": [ { @@ -29,23 +30,39 @@ }, "mappings": [ { - "id": 0, - "op": "=", - "text": "N/A", - "type": 1, - "value": "null" + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" } ], + "max": 300000000, + "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "#299c46", + "color": "red", "value": null }, + { + "color": "dark-orange", + "value": 25000000 + }, + { + "color": "dark-yellow", + "value": 50000000 + }, { "color": "blue", - "value": 100 + "value": 80000000 + }, + { + "color": "#6ED0E0", + "value": 250000000 } ] }, @@ -76,7 +93,7 @@ "showThresholdMarkers": true, "text": {} }, - "pluginVersion": "7.5.6", + "pluginVersion": "8.0.4", "targets": [ { "expr": "speedtest_download_bits_per_second{}", @@ -100,23 +117,35 @@ }, "mappings": [ { - "id": 0, - "op": "=", - "text": "N/A", - "type": 1, - "value": "null" + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" } ], + "max": 50000000, + "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", + "color": "red", "value": null }, + { + "color": "#EAB839", + "value": 5000000 + }, { "color": "blue", - "value": 20 + "value": 10000000 + }, + { + "color": "#6ED0E0", + "value": 20000000 } ] }, @@ -147,7 +176,7 @@ "showThresholdMarkers": true, "text": {} }, - "pluginVersion": "7.5.6", + "pluginVersion": "8.0.4", "targets": [ { "expr": "speedtest_upload_bits_per_second{}", @@ -172,23 +201,35 @@ "decimals": 2, "mappings": [ { - "id": 0, - "op": "=", - "text": "N/A", - "type": 1, - "value": "null" + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" } ], + "max": 50, + "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", + "color": "dark-green", "value": null }, + { + "color": "#EAB839", + "value": 15 + }, + { + "color": "orange", + "value": 20 + }, { "color": "red", - "value": 80 + "value": 30 } ] }, @@ -219,7 +260,7 @@ "showThresholdMarkers": true, "text": {} }, - "pluginVersion": "7.5.6", + "pluginVersion": "8.0.4", "targets": [ { "expr": "speedtest_ping_latency_milliseconds", @@ -251,7 +292,8 @@ "hideFrom": { "graph": false, "legend": false, - "tooltip": false + "tooltip": false, + "viz": false }, "lineInterpolation": "linear", "lineWidth": 0, @@ -260,7 +302,14 @@ "type": "linear" }, "showPoints": "never", - "spanNulls": true + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } }, "mappings": [], "thresholds": { @@ -296,7 +345,7 @@ "displayMode": "list", "placement": "right" }, - "tooltipOptions": { + "tooltip": { "mode": "multi" } }, @@ -356,10 +405,6 @@ ] }, "datasource": "prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, "gridPos": { "h": 9, "w": 12, @@ -421,10 +466,6 @@ "dashLength": 10, "dashes": false, "datasource": "prometheus", - "fieldConfig": { - "defaults": {}, - "overrides": [] - }, "fill": 1, "fillGradient": 0, "gridPos": { @@ -453,7 +494,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "7.5.6", + "pluginVersion": "8.0.4", "pointradius": 5, "points": false, "renderer": "flot", @@ -515,7 +556,7 @@ } ], "refresh": "5m", - "schemaVersion": 27, + "schemaVersion": 30, "style": "dark", "tags": [ "speedtest", @@ -525,7 +566,7 @@ "list": [] }, "time": { - "from": "now-7d", + "from": "now-12h", "to": "now" }, "timepicker": { @@ -555,6 +596,6 @@ }, "timezone": "browser", "title": "Internet connection", - "uid": "o9mIe_Aik", - "version": 12 -} \ No newline at end of file + "uid": "NLDu4qznk", + "version": 3 +}