mirror of
				https://github.com/ItsDrike/network-monitor.git
				synced 2025-11-04 04:16:35 +00:00 
			
		
		
		
	Add ping/jitter time graph
This commit is contained in:
		
							parent
							
								
									914e8cb491
								
							
						
					
					
						commit
						3c609e91b0
					
				
					 1 changed files with 108 additions and 105 deletions
				
			
		| 
						 | 
				
			
			@ -70,7 +70,7 @@
 | 
			
		|||
        "overrides": []
 | 
			
		||||
      },
 | 
			
		||||
      "gridPos": {
 | 
			
		||||
        "h": 9,
 | 
			
		||||
        "h": 8,
 | 
			
		||||
        "w": 6,
 | 
			
		||||
        "x": 0,
 | 
			
		||||
        "y": 0
 | 
			
		||||
| 
						 | 
				
			
			@ -153,7 +153,7 @@
 | 
			
		|||
        "overrides": []
 | 
			
		||||
      },
 | 
			
		||||
      "gridPos": {
 | 
			
		||||
        "h": 9,
 | 
			
		||||
        "h": 8,
 | 
			
		||||
        "w": 6,
 | 
			
		||||
        "x": 6,
 | 
			
		||||
        "y": 0
 | 
			
		||||
| 
						 | 
				
			
			@ -237,7 +237,7 @@
 | 
			
		|||
        "overrides": []
 | 
			
		||||
      },
 | 
			
		||||
      "gridPos": {
 | 
			
		||||
        "h": 9,
 | 
			
		||||
        "h": 8,
 | 
			
		||||
        "w": 6,
 | 
			
		||||
        "x": 12,
 | 
			
		||||
        "y": 0
 | 
			
		||||
| 
						 | 
				
			
			@ -262,6 +262,7 @@
 | 
			
		|||
      "pluginVersion": "8.0.4",
 | 
			
		||||
      "targets": [
 | 
			
		||||
        {
 | 
			
		||||
          "exemplar": true,
 | 
			
		||||
          "expr": "speedtest_ping_latency_milliseconds",
 | 
			
		||||
          "format": "time_series",
 | 
			
		||||
          "instant": false,
 | 
			
		||||
| 
						 | 
				
			
			@ -322,7 +323,7 @@
 | 
			
		|||
        "overrides": []
 | 
			
		||||
      },
 | 
			
		||||
      "gridPos": {
 | 
			
		||||
        "h": 9,
 | 
			
		||||
        "h": 8,
 | 
			
		||||
        "w": 6,
 | 
			
		||||
        "x": 18,
 | 
			
		||||
        "y": 0
 | 
			
		||||
| 
						 | 
				
			
			@ -415,10 +416,10 @@
 | 
			
		|||
        "overrides": []
 | 
			
		||||
      },
 | 
			
		||||
      "gridPos": {
 | 
			
		||||
        "h": 9,
 | 
			
		||||
        "h": 7,
 | 
			
		||||
        "w": 12,
 | 
			
		||||
        "x": 0,
 | 
			
		||||
        "y": 9
 | 
			
		||||
        "y": 8
 | 
			
		||||
      },
 | 
			
		||||
      "id": 6,
 | 
			
		||||
      "links": [],
 | 
			
		||||
| 
						 | 
				
			
			@ -458,6 +459,102 @@
 | 
			
		|||
      "title": "Speedtest Graph",
 | 
			
		||||
      "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": {
 | 
			
		||||
        "cardHSpacing": 2,
 | 
			
		||||
| 
						 | 
				
			
			@ -491,10 +588,10 @@
 | 
			
		|||
      },
 | 
			
		||||
      "datasource": "prometheus",
 | 
			
		||||
      "gridPos": {
 | 
			
		||||
        "h": 9,
 | 
			
		||||
        "w": 12,
 | 
			
		||||
        "x": 12,
 | 
			
		||||
        "y": 9
 | 
			
		||||
        "h": 6,
 | 
			
		||||
        "w": 24,
 | 
			
		||||
        "x": 0,
 | 
			
		||||
        "y": 15
 | 
			
		||||
      },
 | 
			
		||||
      "highlightCards": true,
 | 
			
		||||
      "id": 14,
 | 
			
		||||
| 
						 | 
				
			
			@ -544,100 +641,6 @@
 | 
			
		|||
        "labelTemplate": "",
 | 
			
		||||
        "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",
 | 
			
		||||
| 
						 | 
				
			
			@ -682,5 +685,5 @@
 | 
			
		|||
  "timezone": "browser",
 | 
			
		||||
  "title": "Internet connection",
 | 
			
		||||
  "uid": "NLDu4qznk",
 | 
			
		||||
  "version": 1
 | 
			
		||||
  "version": 2
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue