Skip to content

Commit c0807b6

Browse files
authored
Merge pull request #125 from ToMe25/speedtest_dashboard_fix
2 parents e5a8f1a + b289fa5 commit c0807b6

File tree

1 file changed

+27
-48
lines changed

1 file changed

+27
-48
lines changed

grafana-dashboards/speedtest-exporter-dashboard.json

Lines changed: 27 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,4 @@
11
{
2-
"__inputs": [
3-
{
4-
"name": "DS_PROMETHEUS",
5-
"label": "Prometheus",
6-
"description": "",
7-
"type": "datasource",
8-
"pluginId": "prometheus",
9-
"pluginName": "Prometheus"
10-
}
11-
],
12-
"__requires": [
13-
{
14-
"type": "grafana",
15-
"id": "grafana",
16-
"name": "Grafana",
17-
"version": "7.2.1"
18-
},
19-
{
20-
"type": "panel",
21-
"id": "graph",
22-
"name": "Graph",
23-
"version": ""
24-
},
25-
{
26-
"type": "datasource",
27-
"id": "prometheus",
28-
"name": "Prometheus",
29-
"version": "1.0.0"
30-
}
31-
],
322
"annotations": {
333
"list": [
344
{
@@ -37,23 +7,22 @@
377
"enable": true,
388
"hide": true,
399
"iconColor": "rgba(0, 211, 255, 1)",
40-
"name": "Annotations & Alerts",
10+
"name": "Annotations & Alerts",
4111
"type": "dashboard"
4212
}
4313
]
4414
},
4515
"editable": true,
4616
"gnetId": null,
4717
"graphTooltip": 0,
48-
"id": null,
4918
"links": [],
5019
"panels": [
5120
{
5221
"aliasColors": {},
5322
"bars": false,
5423
"dashLength": 10,
5524
"dashes": false,
56-
"datasource": "${DS_PROMETHEUS}",
25+
"datasource": "prometheus",
5726
"fieldConfig": {
5827
"defaults": {
5928
"custom": {}
@@ -83,28 +52,33 @@
8352
},
8453
"lines": true,
8554
"linewidth": 1,
86-
"nullPointMode": "null",
55+
"nullPointMode": "connected",
8756
"options": {
88-
"alertThreshold": true
57+
"alertThreshold": true,
58+
"dataLinks": []
8959
},
9060
"percentage": false,
91-
"pluginVersion": "7.2.1",
61+
"pluginVersion": "7.0.3",
9262
"pointradius": 2,
9363
"points": false,
9464
"renderer": "flot",
9565
"seriesOverrides": [],
9666
"spaceLength": 10,
9767
"stack": false,
98-
"steppedLine": false,
68+
"steppedLine": true,
9969
"targets": [
10070
{
10171
"expr": "speedtest_ping_latency_milliseconds",
72+
"format": "time_series",
73+
"instant": false,
10274
"interval": "",
10375
"legendFormat": "Ping (ms)",
10476
"refId": "A"
10577
},
10678
{
10779
"expr": "speedtest_jitter_latency_milliseconds",
80+
"format": "time_series",
81+
"instant": false,
10882
"interval": "",
10983
"legendFormat": "Jitter (ms)",
11084
"refId": "B"
@@ -158,7 +132,7 @@
158132
"bars": false,
159133
"dashLength": 10,
160134
"dashes": false,
161-
"datasource": "${DS_PROMETHEUS}",
135+
"datasource": "prometheus",
162136
"description": "",
163137
"fieldConfig": {
164138
"defaults": {
@@ -188,9 +162,10 @@
188162
},
189163
"lines": true,
190164
"linewidth": 1,
191-
"nullPointMode": "null",
165+
"nullPointMode": "connected",
192166
"options": {
193-
"alertThreshold": true
167+
"alertThreshold": true,
168+
"dataLinks": []
194169
},
195170
"percentage": false,
196171
"pluginVersion": "7.2.1",
@@ -200,10 +175,12 @@
200175
"seriesOverrides": [],
201176
"spaceLength": 10,
202177
"stack": false,
203-
"steppedLine": false,
178+
"steppedLine": true,
204179
"targets": [
205180
{
206181
"expr": "speedtest_download_bits_per_second*10^-6",
182+
"format": "time_series",
183+
"instant": false,
207184
"interval": "",
208185
"legendFormat": "Download Speed (Mbits/s)",
209186
"refId": "A"
@@ -258,7 +235,7 @@
258235
"bars": false,
259236
"dashLength": 10,
260237
"dashes": false,
261-
"datasource": "${DS_PROMETHEUS}",
238+
"datasource": "prometheus",
262239
"fieldConfig": {
263240
"defaults": {
264241
"custom": {}
@@ -287,9 +264,10 @@
287264
},
288265
"lines": true,
289266
"linewidth": 1,
290-
"nullPointMode": "null",
267+
"nullPointMode": "connected",
291268
"options": {
292-
"alertThreshold": true
269+
"alertThreshold": true,
270+
"dataLinks": []
293271
},
294272
"percentage": false,
295273
"pluginVersion": "7.2.1",
@@ -299,10 +277,11 @@
299277
"seriesOverrides": [],
300278
"spaceLength": 10,
301279
"stack": false,
302-
"steppedLine": false,
280+
"steppedLine": true,
303281
"targets": [
304282
{
305283
"expr": "speedtest_upload_bits_per_second*10^-6",
284+
"format": "time_series",
306285
"interval": "",
307286
"legendFormat": "Upload Speed (Mbits/s)",
308287
"refId": "A"
@@ -354,8 +333,8 @@
354333
}
355334
}
356335
],
357-
"refresh": false,
358-
"schemaVersion": 26,
336+
"refresh": "15m",
337+
"schemaVersion": 25,
359338
"style": "dark",
360339
"tags": [],
361340
"templating": {
@@ -369,5 +348,5 @@
369348
"timezone": "",
370349
"title": "Speedtest Dashboard",
371350
"uid": "-fs18ztMz",
372-
"version": 4
351+
"version": 1
373352
}

0 commit comments

Comments
 (0)