Add ping/jitter time graph

This commit is contained in:
ItsDrike 2021-07-07 01:34:33 +02:00
parent 914e8cb491
commit 3c609e91b0
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD

View file

@ -70,7 +70,7 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 9, "h": 8,
"w": 6, "w": 6,
"x": 0, "x": 0,
"y": 0 "y": 0
@ -153,7 +153,7 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 9, "h": 8,
"w": 6, "w": 6,
"x": 6, "x": 6,
"y": 0 "y": 0
@ -237,7 +237,7 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 9, "h": 8,
"w": 6, "w": 6,
"x": 12, "x": 12,
"y": 0 "y": 0
@ -262,6 +262,7 @@
"pluginVersion": "8.0.4", "pluginVersion": "8.0.4",
"targets": [ "targets": [
{ {
"exemplar": true,
"expr": "speedtest_ping_latency_milliseconds", "expr": "speedtest_ping_latency_milliseconds",
"format": "time_series", "format": "time_series",
"instant": false, "instant": false,
@ -322,7 +323,7 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 9, "h": 8,
"w": 6, "w": 6,
"x": 18, "x": 18,
"y": 0 "y": 0
@ -415,10 +416,10 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 9, "h": 7,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 9 "y": 8
}, },
"id": 6, "id": 6,
"links": [], "links": [],
@ -458,6 +459,102 @@
"title": "Speedtest Graph", "title": "Speedtest Graph",
"type": "timeseries" "type": "timeseries"
}, },
{
"datasource": "prometheus",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 50,
"gradientMode": "none",
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 0,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "dtdurationms"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 8
},
"id": 16,
"links": [],
"maxDataPoints": 50000,
"options": {
"graph": {},
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "right"
},
"tooltip": {
"mode": "multi"
}
},
"pluginVersion": "7.4.5",
"targets": [
{
"exemplar": true,
"expr": "speedtest_ping_latency_milliseconds{}",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "Ping",
"refId": "A"
},
{
"exemplar": true,
"expr": "speedtest_jitter_latency_milliseconds{}",
"hide": false,
"interval": "",
"legendFormat": "Jitter",
"refId": "B"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Speedtest Graph",
"type": "timeseries"
},
{ {
"cards": { "cards": {
"cardHSpacing": 2, "cardHSpacing": 2,
@ -491,10 +588,10 @@
}, },
"datasource": "prometheus", "datasource": "prometheus",
"gridPos": { "gridPos": {
"h": 9, "h": 6,
"w": 12, "w": 24,
"x": 12, "x": 0,
"y": 9 "y": 15
}, },
"highlightCards": true, "highlightCards": true,
"id": 14, "id": 14,
@ -544,100 +641,6 @@
"labelTemplate": "", "labelTemplate": "",
"usingSplitLabel": false "usingSplitLabel": false
} }
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "prometheus",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 18
},
"hiddenSeries": false,
"id": 4,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"maxPerRow": 12,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.0.4",
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": "host",
"repeatDirection": "h",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(probe_http_duration_seconds) by (instance)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "HTTP Request Duration",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
} }
], ],
"refresh": "5m", "refresh": "5m",
@ -682,5 +685,5 @@
"timezone": "browser", "timezone": "browser",
"title": "Internet connection", "title": "Internet connection",
"uid": "NLDu4qznk", "uid": "NLDu4qznk",
"version": 1 "version": 2
} }