Skip to content

Instantly share code, notes, and snippets.

@VEBERArnaud
Created September 24, 2020 09:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VEBERArnaud/4d37935fe906324dd18ff01cb511eda6 to your computer and use it in GitHub Desktop.
Save VEBERArnaud/4d37935fe906324dd18ff01cb511eda6 to your computer and use it in GitHub Desktop.
Dashboard Configuration SpeedTest
{
"__inputs": [
{
"name": "DS_INFLUXDB",
"label": "InfluxDB",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "7.1.5"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": null,
"links": [],
"panels": [
{
"datasource": "${DS_INFLUXDB}",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "orange",
"value": 10
},
{
"color": "red",
"value": 100
}
]
},
"unit": "ms"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 0,
"y": 0
},
"id": 6,
"interval": "",
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.1.5",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
}
],
"measurement": "speedtest",
"orderByTime": "ASC",
"policy": "autogen",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ping_latency"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Ping",
"type": "stat"
},
{
"datasource": "${DS_INFLUXDB}",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "orange",
"value": 250
},
{
"color": "yellow",
"value": 500
},
{
"color": "green",
"value": 750
},
{
"color": "blue",
"value": 1000
}
]
},
"unit": "Mbits"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 8,
"y": 0
},
"id": 4,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.1.5",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
}
],
"measurement": "speedtest",
"orderByTime": "ASC",
"policy": "autogen",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"download_bandwidth"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
" / 125000"
],
"type": "math"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Download",
"type": "stat"
},
{
"datasource": "${DS_INFLUXDB}",
"fieldConfig": {
"defaults": {
"custom": {},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "orange",
"value": 250
},
{
"color": "yellow",
"value": 500
},
{
"color": "green",
"value": 750
},
{
"color": "blue",
"value": 1000
}
]
},
"unit": "Mbits"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 8,
"x": 16,
"y": 0
},
"id": 5,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.1.5",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
}
],
"measurement": "speedtest",
"orderByTime": "ASC",
"policy": "autogen",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"upload_bandwidth"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
" / 125000"
],
"type": "math"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Upload",
"type": "stat"
},
{
"aliasColors": {
"download": "blue",
"speedtest.mean": "blue",
"upload": "purple"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUXDB}",
"fieldConfig": {
"defaults": {
"custom": {},
"unit": "Mbits"
},
"overrides": []
},
"fill": 1,
"fillGradient": 5,
"gridPos": {
"h": 10,
"w": 24,
"x": 0,
"y": 5
},
"hiddenSeries": false,
"id": 2,
"legend": {
"avg": false,
"current": false,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"nullPointMode": "connected",
"percentage": false,
"pluginVersion": "7.1.5",
"pointradius": 2,
"points": true,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "download",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
}
],
"measurement": "speedtest",
"orderByTime": "ASC",
"policy": "autogen",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"download_bandwidth"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
" / 125000"
],
"type": "math"
}
]
],
"tags": []
},
{
"alias": "upload",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
}
],
"measurement": "speedtest",
"orderByTime": "ASC",
"policy": "autogen",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"upload_bandwidth"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
" / 125000"
],
"type": "math"
}
]
],
"tags": []
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": false,
"line": true,
"op": "lt",
"value": 250,
"yaxis": "left"
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Bandwidth",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "Mbits",
"label": "bandwidth",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "ms",
"label": "ping",
"logBase": 1,
"max": null,
"min": "0",
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {
"ping": "yellow"
},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_INFLUXDB}",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 5,
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 15
},
"hiddenSeries": false,
"id": 8,
"legend": {
"avg": false,
"current": false,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"nullPointMode": "connected",
"percentage": false,
"pluginVersion": "7.1.5",
"pointradius": 2,
"points": true,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "ping",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
}
],
"measurement": "speedtest",
"orderByTime": "ASC",
"policy": "autogen",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ping_latency"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Ping",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"label": "latency",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": "1m",
"schemaVersion": 26,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-24h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "browser",
"title": "SpeedTest",
"uid": "Ha9ke1iRk",
"version": 38
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment