Fix speedtest grafana dashboard not working on default grafana pod

This commit is contained in:
ToMe25 2021-11-12 16:35:54 +00:00
parent e5a8f1ab52
commit b289fa5d4e

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": [
{ {
@ -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
} }