Merge pull request #125 from ToMe25/speedtest_dashboard_fix

This commit is contained in:
Carlos Eduardo 2021-11-12 16:49:58 -03:00 committed by GitHub
commit c0807b6477
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,34 +1,4 @@
{ {
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "7.2.1"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
}
],
"annotations": { "annotations": {
"list": [ "list": [
{ {
@ -37,7 +7,7 @@
"enable": true, "enable": true,
"hide": true, "hide": true,
"iconColor": "rgba(0, 211, 255, 1)", "iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts", "name": "Annotations & Alerts",
"type": "dashboard" "type": "dashboard"
} }
] ]
@ -45,7 +15,6 @@
"editable": true, "editable": true,
"gnetId": null, "gnetId": null,
"graphTooltip": 0, "graphTooltip": 0,
"id": null,
"links": [], "links": [],
"panels": [ "panels": [
{ {
@ -53,7 +22,7 @@
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "${DS_PROMETHEUS}", "datasource": "prometheus",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"custom": {} "custom": {}
@ -83,28 +52,33 @@
}, },
"lines": true, "lines": true,
"linewidth": 1, "linewidth": 1,
"nullPointMode": "null", "nullPointMode": "connected",
"options": { "options": {
"alertThreshold": true "alertThreshold": true,
"dataLinks": []
}, },
"percentage": false, "percentage": false,
"pluginVersion": "7.2.1", "pluginVersion": "7.0.3",
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [], "seriesOverrides": [],
"spaceLength": 10, "spaceLength": 10,
"stack": false, "stack": false,
"steppedLine": false, "steppedLine": true,
"targets": [ "targets": [
{ {
"expr": "speedtest_ping_latency_milliseconds", "expr": "speedtest_ping_latency_milliseconds",
"format": "time_series",
"instant": false,
"interval": "", "interval": "",
"legendFormat": "Ping (ms)", "legendFormat": "Ping (ms)",
"refId": "A" "refId": "A"
}, },
{ {
"expr": "speedtest_jitter_latency_milliseconds", "expr": "speedtest_jitter_latency_milliseconds",
"format": "time_series",
"instant": false,
"interval": "", "interval": "",
"legendFormat": "Jitter (ms)", "legendFormat": "Jitter (ms)",
"refId": "B" "refId": "B"
@ -158,7 +132,7 @@
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "${DS_PROMETHEUS}", "datasource": "prometheus",
"description": "", "description": "",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -188,9 +162,10 @@
}, },
"lines": true, "lines": true,
"linewidth": 1, "linewidth": 1,
"nullPointMode": "null", "nullPointMode": "connected",
"options": { "options": {
"alertThreshold": true "alertThreshold": true,
"dataLinks": []
}, },
"percentage": false, "percentage": false,
"pluginVersion": "7.2.1", "pluginVersion": "7.2.1",
@ -200,10 +175,12 @@
"seriesOverrides": [], "seriesOverrides": [],
"spaceLength": 10, "spaceLength": 10,
"stack": false, "stack": false,
"steppedLine": false, "steppedLine": true,
"targets": [ "targets": [
{ {
"expr": "speedtest_download_bits_per_second*10^-6", "expr": "speedtest_download_bits_per_second*10^-6",
"format": "time_series",
"instant": false,
"interval": "", "interval": "",
"legendFormat": "Download Speed (Mbits/s)", "legendFormat": "Download Speed (Mbits/s)",
"refId": "A" "refId": "A"
@ -258,7 +235,7 @@
"bars": false, "bars": false,
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": "${DS_PROMETHEUS}", "datasource": "prometheus",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"custom": {} "custom": {}
@ -287,9 +264,10 @@
}, },
"lines": true, "lines": true,
"linewidth": 1, "linewidth": 1,
"nullPointMode": "null", "nullPointMode": "connected",
"options": { "options": {
"alertThreshold": true "alertThreshold": true,
"dataLinks": []
}, },
"percentage": false, "percentage": false,
"pluginVersion": "7.2.1", "pluginVersion": "7.2.1",
@ -299,10 +277,11 @@
"seriesOverrides": [], "seriesOverrides": [],
"spaceLength": 10, "spaceLength": 10,
"stack": false, "stack": false,
"steppedLine": false, "steppedLine": true,
"targets": [ "targets": [
{ {
"expr": "speedtest_upload_bits_per_second*10^-6", "expr": "speedtest_upload_bits_per_second*10^-6",
"format": "time_series",
"interval": "", "interval": "",
"legendFormat": "Upload Speed (Mbits/s)", "legendFormat": "Upload Speed (Mbits/s)",
"refId": "A" "refId": "A"
@ -354,8 +333,8 @@
} }
} }
], ],
"refresh": false, "refresh": "15m",
"schemaVersion": 26, "schemaVersion": 25,
"style": "dark", "style": "dark",
"tags": [], "tags": [],
"templating": { "templating": {
@ -369,5 +348,5 @@
"timezone": "", "timezone": "",
"title": "Speedtest Dashboard", "title": "Speedtest Dashboard",
"uid": "-fs18ztMz", "uid": "-fs18ztMz",
"version": 4 "version": 1
} }