From 00e83398f619d7c27c381101fff1c03755e2ede8 Mon Sep 17 00:00:00 2001 From: Astro Date: Thu, 2 Nov 2023 21:59:29 +0100 Subject: [PATCH] hosts/grafana/dashboards/ZW network essential: add vpn_gw bandwidth --- hosts/grafana/dashboards/17cZUJkGk.json | 156 +++++++++++++++++++++--- 1 file changed, 139 insertions(+), 17 deletions(-) diff --git a/hosts/grafana/dashboards/17cZUJkGk.json b/hosts/grafana/dashboards/17cZUJkGk.json index 489b5a2b..23773850 100644 --- a/hosts/grafana/dashboards/17cZUJkGk.json +++ b/hosts/grafana/dashboards/17cZUJkGk.json @@ -25,7 +25,6 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "iteration": 1663463758029, "links": [], "liveNow": false, "panels": [ @@ -40,6 +39,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "RX", "axisPlacement": "auto", "barAlignment": 0, @@ -140,7 +141,7 @@ }, "gridPos": { "h": 6, - "w": 8, + "w": 6, "x": 0, "y": 0 }, @@ -156,7 +157,8 @@ "min" ], "displayMode": "table", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "single", @@ -246,7 +248,7 @@ "condition": "AND", "key": "instance", "operator": "=~", - "value": "/^(up|njalla|bat|bmx|ipip|dc)/" + "value": "/^(up|mullvad|protonvpn|njalla|bmx|bat|dc|vpn)/" } ] }, @@ -330,7 +332,7 @@ "condition": "AND", "key": "instance", "operator": "=~", - "value": "/^(up|mullvad|protonvpn|njalla|bmx|bat|dc)/" + "value": "/^(up|mullvad|protonvpn|njalla|bmx|bat|dc|vpn)/" } ] } @@ -350,6 +352,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "Clients", "axisPlacement": "auto", "barAlignment": 0, @@ -493,7 +497,7 @@ "h": 8, "w": 8, "x": 0, - "y": 14 + "y": 12 }, "id": 14, "interval": "60s", @@ -505,7 +509,8 @@ "lastNotNull" ], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -658,11 +663,26 @@ "type": "influxdb", "uid": "P79EA3E036FD9FF91" }, + "fieldConfig": { + "defaults": { + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "scaleDistribution": { + "type": "linear" + } + } + }, + "overrides": [] + }, "gridPos": { "h": 10, "w": 10, "x": 0, - "y": 24 + "y": 20 }, "heatmap": {}, "hideZeroBuckets": false, @@ -673,6 +693,45 @@ "show": false }, "maxDataPoints": 400, + "options": { + "calculate": false, + "calculation": {}, + "cellGap": 2, + "cellValues": {}, + "color": { + "exponent": 0.5, + "fill": "#b4ff00", + "mode": "scheme", + "reverse": false, + "scale": "exponential", + "scheme": "RdYlGn", + "steps": 128 + }, + "exemplars": { + "color": "rgba(255,0,255,0.7)" + }, + "filterValues": { + "le": 1e-9 + }, + "legend": { + "show": false + }, + "rowsFrame": { + "layout": "auto" + }, + "showValue": "never", + "tooltip": { + "show": true, + "yHistogram": true + }, + "yAxis": { + "axisPlacement": "left", + "decimals": 0, + "reverse": false, + "unit": "none" + } + }, + "pluginVersion": "9.5.8", "reverseYBuckets": false, "targets": [ { @@ -774,11 +833,26 @@ "type": "influxdb", "uid": "P79EA3E036FD9FF91" }, + "fieldConfig": { + "defaults": { + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "scaleDistribution": { + "type": "linear" + } + } + }, + "overrides": [] + }, "gridPos": { "h": 21, "w": 14, "x": 10, - "y": 24 + "y": 20 }, "heatmap": {}, "hideZeroBuckets": false, @@ -790,6 +864,45 @@ }, "links": [], "maxDataPoints": 400, + "options": { + "calculate": false, + "calculation": {}, + "cellGap": 2, + "cellValues": {}, + "color": { + "exponent": 0.5, + "fill": "#b4ff00", + "mode": "scheme", + "reverse": false, + "scale": "exponential", + "scheme": "RdYlGn", + "steps": 128 + }, + "exemplars": { + "color": "rgba(255,0,255,0.7)" + }, + "filterValues": { + "le": 1e-9 + }, + "legend": { + "show": false + }, + "rowsFrame": { + "layout": "auto" + }, + "showValue": "never", + "tooltip": { + "show": true, + "yHistogram": true + }, + "yAxis": { + "axisPlacement": "left", + "decimals": 0, + "reverse": false, + "unit": "none" + } + }, + "pluginVersion": "9.5.8", "reverseYBuckets": false, "targets": [ { @@ -870,6 +983,8 @@ "mode": "palette-classic" }, "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, @@ -905,7 +1020,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -921,7 +1037,7 @@ "h": 11, "w": 10, "x": 0, - "y": 34 + "y": 30 }, "id": 20, "maxDataPoints": 128, @@ -929,7 +1045,8 @@ "legend": { "calcs": [], "displayMode": "list", - "placement": "bottom" + "placement": "bottom", + "showLegend": true }, "tooltip": { "mode": "multi", @@ -1008,8 +1125,8 @@ "type": "timeseries" } ], - "refresh": false, - "schemaVersion": 36, + "refresh": "", + "schemaVersion": 38, "style": "dark", "tags": [], "templating": { @@ -1059,9 +1176,14 @@ "selected": false, "text": "dn42", "value": "dn42" + }, + { + "selected": false, + "text": "vpn-gw", + "value": "vpn-gw" } ], - "query": "upstream3,upstream4,flpk-gw,anon1,freifunk,dn42", + "query": "upstream3,upstream4,flpk-gw,anon1,freifunk,dn42,vpn-gw", "skipUrlSync": false, "type": "custom" }, @@ -1104,7 +1226,7 @@ ] }, "time": { - "from": "now-2d", + "from": "now-24h", "to": "now" }, "timepicker": { @@ -1137,4 +1259,4 @@ "uid": "17cZUJkGk", "version": 1, "weekStart": "" -} +} \ No newline at end of file