diff --git a/GrafanaDash-SpeedTests.json b/GrafanaDash-SpeedTests.json index ae905bc..901fdd1 100644 --- a/GrafanaDash-SpeedTests.json +++ b/GrafanaDash-SpeedTests.json @@ -59,13 +59,17 @@ "gnetId": 13053, "graphTooltip": 0, "id": null, - "iteration": 1610934200933, + "iteration": 1611206261586, "links": [], "panels": [ { "datasource": "${DS_INFLUXDB-SPEEDTESTS}", "fieldConfig": { "defaults": { + "color": { + "fixedColor": "semi-dark-blue", + "mode": "fixed" + }, "custom": {}, "mappings": [], "thresholds": { @@ -90,12 +94,13 @@ "overrides": [] }, "gridPos": { - "h": 4, - "w": 6, + "h": 2, + "w": 3, "x": 0, "y": 0 }, "id": 116, + "interval": "5m", "options": { "colorMode": "value", "graphMode": "area", @@ -119,12 +124,6 @@ "$__interval" ], "type": "time" - }, - { - "params": [ - "linear" - ], - "type": "fill" } ], "measurement": "download", @@ -155,392 +154,9 @@ ] } ], - "timeFrom": "2d", + "timeFrom": null, "timeShift": null, - "title": "Download Speed", - "type": "stat" - }, - { - "datasource": "${DS_INFLUXDB-SPEEDTESTS}", - "fieldConfig": { - "defaults": { - "custom": {}, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "red", - "value": null - }, - { - "color": "light-yellow", - "value": 700 - }, - { - "color": "green", - "value": 825 - } - ] - }, - "unit": "Mbits" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 6, - "y": 0 - }, - "id": 118, - "interval": "", - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "7.3.6", - "targets": [ - { - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "linear" - ], - "type": "fill" - } - ], - "measurement": "upload", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "bandwidth" - ], - "type": "field" - }, - { - "params": [], - "type": "last" - } - ] - ], - "tags": [ - { - "key": "namespace", - "operator": "=~", - "value": "/^$namespace$/" - } - ] - } - ], - "timeFrom": "2d", - "timeShift": null, - "title": "Upload Speed", - "type": "stat" - }, - { - "datasource": "${DS_INFLUXDB-SPEEDTESTS}", - "fieldConfig": { - "defaults": { - "custom": {}, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 12, - "y": 0 - }, - "id": 120, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "7.3.6", - "targets": [ - { - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "linear" - ], - "type": "fill" - } - ], - "measurement": "ping", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "latency" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "namespace", - "operator": "=~", - "value": "/^$namespace$/" - } - ] - } - ], - "timeFrom": "2d", - "timeShift": null, - "title": "Response Time", - "type": "stat" - }, - { - "datasource": "${DS_INFLUXDB-SPEEDTESTS}", - "fieldConfig": { - "defaults": { - "custom": {}, - "decimals": 2, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "yellow", - "value": 10000 - }, - { - "color": "red", - "value": 14000 - } - ] - }, - "unit": "ms" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 18, - "y": 0 - }, - "id": 122, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "7.3.6", - "targets": [ - { - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "linear" - ], - "type": "fill" - } - ], - "measurement": "download", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "elapsed" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "namespace", - "operator": "=~", - "value": "/^$namespace$/" - } - ] - } - ], - "timeFrom": "2d", - "timeShift": null, - "title": "Test Time", - "type": "stat" - }, - { - "datasource": "${DS_INFLUXDB-SPEEDTESTS}", - "fieldConfig": { - "defaults": { - "custom": {}, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 6, - "x": 0, - "y": 4 - }, - "id": 124, - "interval": "1h", - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "sum" - ], - "fields": "", - "values": false - }, - "textMode": "auto" - }, - "pluginVersion": "7.3.6", - "targets": [ - { - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "previous" - ], - "type": "fill" - } - ], - "measurement": "download", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "bytes" - ], - "type": "field" - }, - { - "params": [], - "type": "last" - } - ] - ], - "tags": [ - { - "key": "namespace", - "operator": "=~", - "value": "/^$namespace$/" - } - ] - } - ], - "timeFrom": "2d", - "timeShift": null, - "title": "Download Size Total", + "title": "Avg Download Speed", "type": "stat" }, { @@ -559,10 +175,10 @@ "fill": 1, "fillGradient": 3, "gridPos": { - "h": 8, + "h": 7, "w": 18, - "x": 6, - "y": 4 + "x": 3, + "y": 0 }, "hiddenSeries": false, "id": 104, @@ -592,7 +208,7 @@ "seriesOverrides": [ { "alias": "Upload", - "color": "#F2CC0C" + "color": "#A352CC" }, { "alias": "Download", @@ -611,12 +227,6 @@ "$__interval" ], "type": "time" - }, - { - "params": [ - "none" - ], - "type": "fill" } ], "measurement": "download", @@ -656,12 +266,6 @@ "$__interval" ], "type": "time" - }, - { - "params": [ - "none" - ], - "type": "fill" } ], "measurement": "upload", @@ -735,6 +339,201 @@ "alignLevel": null } }, + { + "datasource": "${DS_INFLUXDB-SPEEDTESTS}", + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "semi-dark-yellow", + "mode": "fixed" + }, + "custom": {}, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "yellow", + "value": 10000 + }, + { + "color": "red", + "value": 14000 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 3, + "x": 21, + "y": 0 + }, + "id": 122, + "interval": "5m", + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.3.6", + "targets": [ + { + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + } + ], + "measurement": "download", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "elapsed" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "namespace", + "operator": "=~", + "value": "/^$namespace$/" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Avg Test Time", + "type": "stat" + }, + { + "datasource": "${DS_INFLUXDB-SPEEDTESTS}", + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "semi-dark-purple", + "mode": "fixed" + }, + "custom": {}, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "light-yellow", + "value": 700 + }, + { + "color": "green", + "value": 825 + } + ] + }, + "unit": "Mbits" + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 3, + "x": 0, + "y": 2 + }, + "id": 118, + "interval": "5m", + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.3.6", + "targets": [ + { + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + } + ], + "measurement": "upload", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "bandwidth" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [ + { + "key": "namespace", + "operator": "=~", + "value": "/^$namespace$/" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Avg Upload Speed", + "type": "stat" + }, { "datasource": "${DS_INFLUXDB-SPEEDTESTS}", "fieldConfig": { @@ -755,13 +554,13 @@ "overrides": [] }, "gridPos": { - "h": 4, - "w": 6, - "x": 0, - "y": 8 + "h": 2, + "w": 3, + "x": 21, + "y": 3 }, - "id": 125, - "interval": "1h", + "id": 124, + "interval": "5m", "options": { "colorMode": "value", "graphMode": "area", @@ -785,12 +584,189 @@ "$__interval" ], "type": "time" - }, + } + ], + "measurement": "download", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "bytes" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [ + { + "key": "namespace", + "operator": "=~", + "value": "/^$namespace$/" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Total Test Downloaded", + "type": "stat" + }, + { + "datasource": "${DS_INFLUXDB-SPEEDTESTS}", + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "semi-dark-yellow", + "mode": "fixed" + }, + "custom": {}, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "#EAB839", + "value": 90 + }, + { + "color": "red", + "value": 150 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 3, + "x": 0, + "y": 4 + }, + "id": 120, + "interval": "5m", + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.3.6", + "targets": [ + { + "groupBy": [ { "params": [ - "previous" + "$__interval" ], - "type": "fill" + "type": "time" + } + ], + "measurement": "ping", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "latency" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "namespace", + "operator": "=~", + "value": "/^$namespace$/" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Avg Test Latency", + "type": "stat" + }, + { + "datasource": "${DS_INFLUXDB-SPEEDTESTS}", + "fieldConfig": { + "defaults": { + "custom": {}, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 3, + "x": 21, + "y": 5 + }, + "id": 125, + "interval": "5m", + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "sum" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.3.6", + "targets": [ + { + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" } ], "measurement": "upload", @@ -821,9 +797,391 @@ ] } ], - "timeFrom": "2d", + "timeFrom": null, "timeShift": null, - "title": "Upload Size Total", + "title": "Total Test Uploaded", + "type": "stat" + }, + { + "datasource": "${DS_INFLUXDB-SPEEDTESTS}", + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "dark-green", + "mode": "fixed" + }, + "custom": {}, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 3, + "x": 0, + "y": 7 + }, + "id": 139, + "interval": "", + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.3.6", + "targets": [ + { + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + } + ], + "measurement": "pings", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "success" + ], + "type": "field" + }, + { + "params": [], + "type": "min" + } + ] + ], + "tags": [ + { + "key": "namespace", + "operator": "=~", + "value": "/^$namespace$/" + } + ], + "tz": "" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Uptime", + "type": "stat" + }, + { + "aliasColors": { + "Latency": "semi-dark-yellow", + "Uptime": "dark-green", + "pings.min": "light-green", + "pings.sucess": "dark-green" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_INFLUXDB-SPEEDTESTS}", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 3, + "gridPos": { + "h": 6, + "w": 21, + "x": 3, + "y": 7 + }, + "hiddenSeries": false, + "id": 138, + "interval": "", + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "sideWidth": 180, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.6", + "pointradius": 0.5, + "points": true, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "pings.min", + "yaxis": 2 + }, + { + "alias": "pings.sucess", + "yaxis": 2 + }, + { + "alias": "Uptime", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "Latency", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + } + ], + "measurement": "pings", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"bytes\") FROM \"download\" WHERE $timeFilter GROUP BY time($__interval) fill(0)", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "rtt" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "namespace", + "operator": "=~", + "value": "/^$namespace$/" + } + ] + }, + { + "alias": "Uptime", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + } + ], + "measurement": "pings", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"bytes\") FROM \"download\" WHERE $timeFilter GROUP BY time($__interval) fill(0)", + "rawQuery": false, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "success" + ], + "type": "field" + }, + { + "params": [], + "type": "min" + } + ] + ], + "tags": [ + { + "key": "namespace", + "operator": "=~", + "value": "/^$namespace$/" + } + ], + "tz": "" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "High Frequency Ping Results", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": null, + "format": "ms", + "label": null, + "logBase": 2, + "max": "256", + "min": "4", + "show": true + }, + { + "decimals": null, + "format": "percentunit", + "label": "", + "logBase": 1, + "max": "1", + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "datasource": "${DS_INFLUXDB-SPEEDTESTS}", + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "semi-dark-yellow", + "mode": "fixed" + }, + "custom": {}, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "yellow", + "value": 90 + }, + { + "color": "red", + "value": 150 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 3, + "x": 0, + "y": 10 + }, + "id": 140, + "interval": "", + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.3.6", + "targets": [ + { + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + } + ], + "measurement": "pings", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "rtt" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [ + { + "key": "namespace", + "operator": "=~", + "value": "/^$namespace$/" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Avg Ping Latency", "type": "stat" }, { @@ -833,7 +1191,7 @@ "h": 1, "w": 24, "x": 0, - "y": 12 + "y": 13 }, "id": 137, "panels": [], @@ -910,7 +1268,7 @@ "h": 3, "w": 24, "x": 0, - "y": 13 + "y": 14 }, "id": 127, "options": { @@ -1163,7 +1521,7 @@ "h": 2, "w": 24, "x": 0, - "y": 16 + "y": 17 }, "id": 134, "options": { @@ -1416,7 +1774,7 @@ "h": 2, "w": 24, "x": 0, - "y": 18 + "y": 19 }, "id": 131, "options": { @@ -1669,7 +2027,7 @@ "h": 2, "w": 24, "x": 0, - "y": 20 + "y": 21 }, "id": 135, "options": { @@ -1853,441 +2211,440 @@ "type": "table" }, { - "collapsed": true, + "collapsed": false, "datasource": "${DS_INFLUXDB-SPEEDTESTS}", "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 22 + "y": 23 }, "id": 108, - "panels": [ - { - "datasource": "${DS_INFLUXDB-SPEEDTESTS}", - "description": "Shows the avg speeds received by test site", - "fieldConfig": { - "defaults": { - "custom": { - "align": "center", - "displayMode": "color-background", - "filterable": false - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "Mbits" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Ping" - }, - "properties": [ - { - "id": "unit", - "value": "ms" - }, - { - "id": "thresholds", - "value": { - "mode": "percentage", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 25 - }, - { - "color": "red", - "value": 50 - } - ] - } - }, - { - "id": "custom.displayMode", - "value": "gradient-gauge" - }, - { - "id": "max", - "value": 100 - }, - { - "id": "custom.width" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Test Count" - }, - "properties": [ - { - "id": "unit", - "value": "none" - }, - { - "id": "custom.displayMode", - "value": "gradient-gauge" - }, - { - "id": "max", - "value": 25 - }, - { - "id": "custom.width", - "value": 150 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Location" - }, - "properties": [ - { - "id": "custom.displayMode", - "value": "color-text" - }, - { - "id": "custom.width", - "value": 180 - }, - { - "id": "custom.align", - "value": "left" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Download Avg" - }, - "properties": [ - { - "id": "custom.displayMode", - "value": "gradient-gauge" - }, - { - "id": "thresholds", - "value": { - "mode": "absolute", - "steps": [ - { - "color": "red", - "value": null - }, - { - "color": "yellow", - "value": 50 - }, - { - "color": "green", - "value": 100 - } - ] - } - }, - { - "id": "max" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Upload Avg" - }, - "properties": [ - { - "id": "custom.displayMode", - "value": "gradient-gauge" - }, - { - "id": "thresholds", - "value": { - "mode": "absolute", - "steps": [ - { - "color": "red", - "value": null - }, - { - "color": "yellow", - "value": 10 - }, - { - "color": "green", - "value": 50 - } - ] - } - }, - { - "id": "max" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Server" - }, - "properties": [ - { - "id": "custom.width", - "value": 300 - }, - { - "id": "custom.align", - "value": "left" - } - ] - } - ] - }, - "gridPos": { - "h": 12, - "w": 24, - "x": 0, - "y": 23 - }, - "id": 114, - "options": { - "showHeader": true, - "sortBy": [ - { - "desc": false, - "displayName": "Ping" - } - ] - }, - "pluginVersion": "7.3.6", - "targets": [ - { - "groupBy": [ - { - "params": [ - "server_name" - ], - "type": "tag" - }, - { - "params": [ - "server_location" - ], - "type": "tag" - }, - { - "params": [ - "server_id" - ], - "type": "tag" - } - ], - "measurement": "download", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"bandwidth\") AS \"Download Avg\" FROM \"download\" WHERE $timeFilter GROUP BY \"server_name\", \"server_location\"", - "rawQuery": false, - "refId": "A", - "resultFormat": "table", - "select": [ - [ - { - "params": [ - "bandwidth" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [ - "Download Avg" - ], - "type": "alias" - } - ], - [ - { - "params": [ - "bandwidth" - ], - "type": "field" - }, - { - "params": [], - "type": "count" - }, - { - "params": [ - "Test Count" - ], - "type": "alias" - } - ] - ], - "tags": [ - { - "key": "namespace", - "operator": "=~", - "value": "/^$namespace$/" - } - ] - }, - { - "groupBy": [ - { - "params": [ - "server_id" - ], - "type": "tag" - } - ], - "measurement": "upload", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"bandwidth\") AS \"Upload Avg\" FROM \"upload\" WHERE $timeFilter GROUP BY \"server_id\"", - "rawQuery": false, - "refId": "B", - "resultFormat": "table", - "select": [ - [ - { - "params": [ - "bandwidth" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [ - "Upload Avg" - ], - "type": "alias" - } - ] - ], - "tags": [ - { - "key": "namespace", - "operator": "=~", - "value": "/^$namespace$/" - } - ] - }, - { - "groupBy": [ - { - "params": [ - "server_id" - ], - "type": "tag" - } - ], - "measurement": "ping", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT mean(\"bandwidth\") AS \"Upload Avg\" FROM \"upload\" WHERE $timeFilter GROUP BY \"server_id\"", - "rawQuery": false, - "refId": "C", - "resultFormat": "table", - "select": [ - [ - { - "params": [ - "latency" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [ - "Ping" - ], - "type": "alias" - } - ] - ], - "tags": [ - { - "key": "namespace", - "operator": "=~", - "value": "/^$namespace$/" - } - ] - } - ], - "timeFrom": null, - "timeShift": null, - "title": "", - "transformations": [ - { - "id": "seriesToColumns", - "options": { - "byField": "server_id" - } - }, - { - "id": "organize", - "options": { - "excludeByName": { - "Time": true, - "Time 1": true, - "Time 2": true, - "Time 3": true, - "server_id": true - }, - "indexByName": { - "Download Avg": 3, - "Ping": 2, - "Test Count": 7, - "Time 1": 6, - "Time 2": 8, - "Time 3": 9, - "Upload Avg": 4, - "server_id": 5, - "server_location": 1, - "server_name": 0 - }, - "renameByName": { - "Time": "", - "server_location": "Location", - "server_name": "Server" - } - } - } - ], - "type": "table" - } - ], + "panels": [], "title": "Averages by Test Server", "type": "row" }, + { + "datasource": "${DS_INFLUXDB-SPEEDTESTS}", + "description": "Shows the avg speeds received by test site", + "fieldConfig": { + "defaults": { + "custom": { + "align": "center", + "displayMode": "color-background", + "filterable": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "Mbits" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Ping" + }, + "properties": [ + { + "id": "unit", + "value": "ms" + }, + { + "id": "thresholds", + "value": { + "mode": "percentage", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "#EAB839", + "value": 25 + }, + { + "color": "red", + "value": 50 + } + ] + } + }, + { + "id": "custom.displayMode", + "value": "gradient-gauge" + }, + { + "id": "max", + "value": 100 + }, + { + "id": "custom.width" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Test Count" + }, + "properties": [ + { + "id": "unit", + "value": "none" + }, + { + "id": "custom.displayMode", + "value": "gradient-gauge" + }, + { + "id": "max", + "value": 25 + }, + { + "id": "custom.width", + "value": 150 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Location" + }, + "properties": [ + { + "id": "custom.displayMode", + "value": "color-text" + }, + { + "id": "custom.width", + "value": 180 + }, + { + "id": "custom.align", + "value": "left" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Download Avg" + }, + "properties": [ + { + "id": "custom.displayMode", + "value": "gradient-gauge" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "yellow", + "value": 50 + }, + { + "color": "green", + "value": 100 + } + ] + } + }, + { + "id": "max" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Upload Avg" + }, + "properties": [ + { + "id": "custom.displayMode", + "value": "gradient-gauge" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "yellow", + "value": 10 + }, + { + "color": "green", + "value": 50 + } + ] + } + }, + { + "id": "max" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Server" + }, + "properties": [ + { + "id": "custom.width", + "value": 300 + }, + { + "id": "custom.align", + "value": "left" + } + ] + } + ] + }, + "gridPos": { + "h": 12, + "w": 24, + "x": 0, + "y": 24 + }, + "id": 114, + "options": { + "showHeader": true, + "sortBy": [ + { + "desc": false, + "displayName": "Ping" + } + ] + }, + "pluginVersion": "7.3.6", + "targets": [ + { + "groupBy": [ + { + "params": [ + "server_name" + ], + "type": "tag" + }, + { + "params": [ + "server_location" + ], + "type": "tag" + }, + { + "params": [ + "server_id" + ], + "type": "tag" + } + ], + "measurement": "download", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"bandwidth\") AS \"Download Avg\" FROM \"download\" WHERE $timeFilter GROUP BY \"server_name\", \"server_location\"", + "rawQuery": false, + "refId": "A", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "bandwidth" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + }, + { + "params": [ + "Download Avg" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "bandwidth" + ], + "type": "field" + }, + { + "params": [], + "type": "count" + }, + { + "params": [ + "Test Count" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "namespace", + "operator": "=~", + "value": "/^$namespace$/" + } + ] + }, + { + "groupBy": [ + { + "params": [ + "server_id" + ], + "type": "tag" + } + ], + "measurement": "upload", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"bandwidth\") AS \"Upload Avg\" FROM \"upload\" WHERE $timeFilter GROUP BY \"server_id\"", + "rawQuery": false, + "refId": "B", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "bandwidth" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + }, + { + "params": [ + "Upload Avg" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "namespace", + "operator": "=~", + "value": "/^$namespace$/" + } + ] + }, + { + "groupBy": [ + { + "params": [ + "server_id" + ], + "type": "tag" + } + ], + "measurement": "ping", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"bandwidth\") AS \"Upload Avg\" FROM \"upload\" WHERE $timeFilter GROUP BY \"server_id\"", + "rawQuery": false, + "refId": "C", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "latency" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + }, + { + "params": [ + "Ping" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "namespace", + "operator": "=~", + "value": "/^$namespace$/" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "", + "transformations": [ + { + "id": "seriesToColumns", + "options": { + "byField": "server_id" + } + }, + { + "id": "organize", + "options": { + "excludeByName": { + "Time": true, + "Time 1": true, + "Time 2": true, + "Time 3": true, + "server_id": true + }, + "indexByName": { + "Download Avg": 3, + "Ping": 2, + "Test Count": 7, + "Time 1": 6, + "Time 2": 8, + "Time 3": 9, + "Upload Avg": 4, + "server_id": 5, + "server_location": 1, + "server_name": 0 + }, + "renameByName": { + "Time": "", + "server_location": "Location", + "server_name": "Server" + } + } + } + ], + "type": "table" + }, { "collapsed": true, "datasource": null, @@ -2295,7 +2652,7 @@ "h": 1, "w": 24, "x": 0, - "y": 23 + "y": 36 }, "id": 129, "panels": [ @@ -2535,7 +2892,7 @@ "type": "row" } ], - "refresh": "1m", + "refresh": "", "schemaVersion": 26, "style": "dark", "tags": [], @@ -2587,5 +2944,5 @@ "timezone": "", "title": "SpeedTests", "uid": "kLXTiedGz", - "version": 16 + "version": 30 }