mirror of
https://github.com/nold360/hive-apps
synced 2024-11-05 05:16:37 +00:00
5387 lines
126 KiB
JSON
5387 lines
126 KiB
JSON
{
|
||
"annotations": {
|
||
"list": [
|
||
{
|
||
"$$hashKey": "object:31",
|
||
"builtIn": 1,
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "grafana"
|
||
},
|
||
"enable": true,
|
||
"hide": true,
|
||
"iconColor": "rgba(0, 211, 255, 1)",
|
||
"name": "Annotations & Alerts",
|
||
"target": {
|
||
"limit": 100,
|
||
"matchAny": false,
|
||
"tags": [],
|
||
"type": "dashboard"
|
||
},
|
||
"type": "dashboard"
|
||
}
|
||
]
|
||
},
|
||
"description": "Metrics for Single Host K3s Homelab",
|
||
"editable": true,
|
||
"fiscalYearStartMonth": 0,
|
||
"gnetId": 10645,
|
||
"graphTooltip": 0,
|
||
"id": 26,
|
||
"links": [],
|
||
"liveNow": false,
|
||
"panels": [
|
||
{
|
||
"collapsed": true,
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 0
|
||
},
|
||
"id": 319,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 1
|
||
},
|
||
"id": 317,
|
||
"options": {
|
||
"alertInstanceLabelFilter": "",
|
||
"alertName": "",
|
||
"dashboardAlerts": false,
|
||
"groupBy": [],
|
||
"groupMode": "default",
|
||
"maxItems": 20,
|
||
"sortOrder": 1,
|
||
"stateFilter": {
|
||
"error": true,
|
||
"firing": true,
|
||
"noData": false,
|
||
"normal": false,
|
||
"pending": true
|
||
},
|
||
"viewMode": "list"
|
||
},
|
||
"title": "Panel Title",
|
||
"type": "alertlist"
|
||
}
|
||
],
|
||
"title": "Alertmanager",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 1
|
||
},
|
||
"id": 200,
|
||
"panels": [],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "The Hive",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"description": "",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"decimals": 2,
|
||
"mappings": [
|
||
{
|
||
"options": {
|
||
"match": "null",
|
||
"result": {
|
||
"text": "N/A"
|
||
}
|
||
},
|
||
"type": "special"
|
||
}
|
||
],
|
||
"max": 100,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "rgba(50, 172, 45, 0.97)",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "rgba(237, 129, 40, 0.89)",
|
||
"value": 50
|
||
},
|
||
{
|
||
"color": "rgba(245, 54, 54, 0.9)",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "percent"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 3,
|
||
"x": 0,
|
||
"y": 2
|
||
},
|
||
"id": 167,
|
||
"links": [],
|
||
"maxDataPoints": 100,
|
||
"options": {
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showThresholdLabels": false,
|
||
"showThresholdMarkers": true,
|
||
"text": {}
|
||
},
|
||
"pluginVersion": "9.4.7",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "100 - (avg(irate(node_cpu_seconds_total{instance=\"$node\",mode=\"idle\"}[5m])) * 100)",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "",
|
||
"range": true,
|
||
"refId": "A",
|
||
"step": 20
|
||
}
|
||
],
|
||
"title": "CPU Usage rate(5m)",
|
||
"type": "gauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"description": "",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"decimals": 2,
|
||
"mappings": [
|
||
{
|
||
"options": {
|
||
"match": "null",
|
||
"result": {
|
||
"text": "N/A"
|
||
}
|
||
},
|
||
"type": "special"
|
||
}
|
||
],
|
||
"max": 100,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "rgba(50, 172, 45, 0.97)",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "rgba(237, 129, 40, 0.89)",
|
||
"value": 20
|
||
},
|
||
{
|
||
"color": "rgba(245, 54, 54, 0.9)",
|
||
"value": 50
|
||
}
|
||
]
|
||
},
|
||
"unit": "percent"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 3,
|
||
"x": 3,
|
||
"y": 2
|
||
},
|
||
"id": 20,
|
||
"links": [],
|
||
"maxDataPoints": 100,
|
||
"options": {
|
||
"orientation": "horizontal",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showThresholdLabels": false,
|
||
"showThresholdMarkers": true,
|
||
"text": {}
|
||
},
|
||
"pluginVersion": "9.4.7",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "avg(irate(node_cpu_seconds_total{instance=~\"$node\",mode=\"iowait\"}[5m])) * 100",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "",
|
||
"refId": "A",
|
||
"step": 20
|
||
}
|
||
],
|
||
"title": "CPU iowait(5m)",
|
||
"type": "gauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"description": "",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"decimals": 0,
|
||
"mappings": [],
|
||
"max": 100,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "rgba(50, 172, 45, 0.97)",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "rgba(237, 129, 40, 0.89)",
|
||
"value": 80
|
||
},
|
||
{
|
||
"color": "rgba(245, 54, 54, 0.9)",
|
||
"value": 90
|
||
}
|
||
]
|
||
},
|
||
"unit": "percent"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 3,
|
||
"x": 6,
|
||
"y": 2
|
||
},
|
||
"hideTimeOverride": false,
|
||
"id": 172,
|
||
"links": [],
|
||
"maxDataPoints": 100,
|
||
"options": {
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showThresholdLabels": false,
|
||
"showThresholdMarkers": true,
|
||
"text": {}
|
||
},
|
||
"pluginVersion": "9.4.7",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editorMode": "code",
|
||
"exemplar": false,
|
||
"expr": "((node_memory_MemTotal_bytes{container=\"node-exporter\"} - node_memory_MemFree_bytes{container=\"node-exporter\"}) / (node_memory_MemTotal_bytes{container=\"node-exporter\"}))* 100",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "",
|
||
"refId": "A",
|
||
"step": 20
|
||
}
|
||
],
|
||
"title": "Memory usage",
|
||
"transformations": [],
|
||
"type": "gauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"description": "",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"mappings": [],
|
||
"max": 100,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "percentage",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "orange",
|
||
"value": 70
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 85
|
||
}
|
||
]
|
||
},
|
||
"unit": "percent"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 3,
|
||
"x": 9,
|
||
"y": 2
|
||
},
|
||
"id": 166,
|
||
"links": [],
|
||
"maxDataPoints": 100,
|
||
"options": {
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showThresholdLabels": false,
|
||
"showThresholdMarkers": true
|
||
},
|
||
"pluginVersion": "9.4.7",
|
||
"repeatDirection": "h",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editorMode": "code",
|
||
"exemplar": false,
|
||
"expr": "100 - ((node_filesystem_avail_bytes{mountpoint=\"/\",fstype=~\"ext4|xfs\",container=\"node-exporter\"} * 100) / node_filesystem_size_bytes{mountpoint=\"/\",fstype=~\"ext4|xfs\",container=\"node-exporter\"})",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"range": false,
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"title": "Root partition usage",
|
||
"transformations": [],
|
||
"type": "gauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"description": "",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
}
|
||
},
|
||
"decimals": 0,
|
||
"mappings": [],
|
||
"unit": "short"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 4,
|
||
"x": 12,
|
||
"y": 2
|
||
},
|
||
"id": 240,
|
||
"interval": "",
|
||
"links": [],
|
||
"options": {
|
||
"displayLabels": [],
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "table",
|
||
"placement": "right",
|
||
"showLegend": true,
|
||
"values": [
|
||
"value"
|
||
]
|
||
},
|
||
"pieType": "pie",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"text": {},
|
||
"tooltip": {
|
||
"mode": "single",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "7.5.0",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"exemplar": false,
|
||
"expr": "sum(argocd_app_info{namespace=~\"$namespace\",dest_server=~\"$cluster\",health_status=~\"$health_status\",sync_status=~\"$sync_status\",health_status!=\"\",sync_status!=\"Unknown\"}) by (sync_status)",
|
||
"format": "time_series",
|
||
"instant": true,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{sync_status}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Sync Status",
|
||
"type": "piechart"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"description": "",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 200
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 3,
|
||
"w": 2,
|
||
"x": 16,
|
||
"y": 2
|
||
},
|
||
"id": 226,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "area",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"text": {},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "9.4.7",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editorMode": "code",
|
||
"exemplar": false,
|
||
"expr": "kubelet_running_pods{node=\"hive\", service=\"kubelet\"}",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"queryType": "randomWalk",
|
||
"range": false,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Pods",
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"description": "",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"decimals": 1,
|
||
"mappings": [
|
||
{
|
||
"options": {
|
||
"match": "null",
|
||
"result": {
|
||
"text": "N/A"
|
||
}
|
||
},
|
||
"type": "special"
|
||
}
|
||
],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "rgba(245, 54, 54, 0.9)",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "rgba(237, 129, 40, 0.89)",
|
||
"value": 1
|
||
},
|
||
{
|
||
"color": "rgba(50, 172, 45, 0.97)",
|
||
"value": 2
|
||
}
|
||
]
|
||
},
|
||
"unit": "s"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 4,
|
||
"w": 6,
|
||
"x": 18,
|
||
"y": 2
|
||
},
|
||
"hideTimeOverride": true,
|
||
"id": 15,
|
||
"links": [],
|
||
"maxDataPoints": 100,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "center",
|
||
"orientation": "vertical",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"text": {},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "9.4.7",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "time() - node_boot_time_seconds{job!=\"node-exporter\"}",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": true,
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{job}}",
|
||
"refId": "A",
|
||
"step": 40
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "fixed"
|
||
},
|
||
"mappings": [
|
||
{
|
||
"options": {
|
||
"match": "null",
|
||
"result": {
|
||
"text": "N/A"
|
||
}
|
||
},
|
||
"type": "special"
|
||
}
|
||
],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
},
|
||
"unit": "none"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 3,
|
||
"w": 3,
|
||
"x": 18,
|
||
"y": 6
|
||
},
|
||
"id": 307,
|
||
"links": [],
|
||
"maxDataPoints": 100,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "9.4.7",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"editorMode": "code",
|
||
"exemplar": false,
|
||
"expr": "adguard_num_dns_queries{}",
|
||
"format": "time_series",
|
||
"instant": true,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "",
|
||
"range": false,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Number of DNS queries",
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"decimals": 2,
|
||
"mappings": [],
|
||
"max": 100,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "#EAB839",
|
||
"value": 40
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "percent"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 3,
|
||
"w": 3,
|
||
"x": 21,
|
||
"y": 6
|
||
},
|
||
"id": 305,
|
||
"links": [],
|
||
"maxDataPoints": 1000,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "9.4.7",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"editorMode": "code",
|
||
"exemplar": false,
|
||
"expr": "adguard_num_blocked_filtering{hostname=\"127.0.0.1\"} / adguard_num_dns_queries{hostname=\"127.0.0.1\"} * 100",
|
||
"format": "time_series",
|
||
"instant": true,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "",
|
||
"range": false,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Percent of ads blocked",
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"aliasColors": {
|
||
"15分钟": "#6ED0E0",
|
||
"1分钟": "#BF1B00",
|
||
"5分钟": "#CCA300"
|
||
},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"description": "",
|
||
"editable": true,
|
||
"error": false,
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 7
|
||
},
|
||
"height": "300",
|
||
"hiddenSeries": false,
|
||
"id": 13,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": false,
|
||
"current": true,
|
||
"max": false,
|
||
"min": false,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 2,
|
||
"links": [],
|
||
"maxPerRow": 6,
|
||
"nullPointMode": "null as zero",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "node_load1{instance=~\"$node\"}",
|
||
"format": "time_series",
|
||
"instant": false,
|
||
"interval": "10s",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{instance}}_1m",
|
||
"metric": "",
|
||
"refId": "A",
|
||
"step": 20,
|
||
"target": ""
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "node_load5{instance=~\"$node\"}",
|
||
"format": "time_series",
|
||
"instant": false,
|
||
"interval": "10s",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{instance}}_5m",
|
||
"refId": "B",
|
||
"step": 20
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "node_load15{instance=~\"$node\"}",
|
||
"format": "time_series",
|
||
"instant": false,
|
||
"interval": "10s",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{instance}}_15m",
|
||
"refId": "C",
|
||
"step": 20
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "System average load",
|
||
"tooltip": {
|
||
"msResolution": false,
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "cumulative"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
}
|
||
},
|
||
"mappings": []
|
||
},
|
||
"overrides": [
|
||
{
|
||
"__systemRef": "hideSeriesFrom",
|
||
"matcher": {
|
||
"id": "byNames",
|
||
"options": {
|
||
"mode": "exclude",
|
||
"names": [
|
||
"D-W-D842302.lan",
|
||
"Galaxy-S20-FE-5G.lan",
|
||
"LAPTOP-G35N0AS1.lan",
|
||
"LibreELEC.lan",
|
||
"fp3.lan",
|
||
"iPad-von-Nicole.lan",
|
||
"noldbook.lan",
|
||
"piradio.lan",
|
||
"printer.lan"
|
||
],
|
||
"prefix": "All except:",
|
||
"readOnly": true
|
||
}
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.hideFrom",
|
||
"value": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": true
|
||
}
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 3,
|
||
"x": 12,
|
||
"y": 7
|
||
},
|
||
"id": 313,
|
||
"links": [],
|
||
"maxDataPoints": 3,
|
||
"options": {
|
||
"legend": {
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"pieType": "pie",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"tooltip": {
|
||
"mode": "single",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "7.3.1",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"editorMode": "code",
|
||
"exemplar": false,
|
||
"expr": "adguard_top_clients",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{ client }}",
|
||
"range": true,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Top clients by source",
|
||
"transformations": [
|
||
{
|
||
"id": "joinByLabels",
|
||
"options": {
|
||
"value": "client"
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "piechart"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
}
|
||
},
|
||
"mappings": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 3,
|
||
"x": 15,
|
||
"y": 7
|
||
},
|
||
"id": 309,
|
||
"links": [],
|
||
"maxDataPoints": 3,
|
||
"options": {
|
||
"legend": {
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"pieType": "pie",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"tooltip": {
|
||
"mode": "single",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "7.3.1",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"editorMode": "code",
|
||
"exemplar": false,
|
||
"expr": "topk(20, adguard_top_blocked_domains{})",
|
||
"format": "time_series",
|
||
"instant": true,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{ domain }}",
|
||
"range": false,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Top ads by domain",
|
||
"transparent": true,
|
||
"type": "piechart"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"custom": {
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
}
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 6,
|
||
"x": 18,
|
||
"y": 9
|
||
},
|
||
"id": 302,
|
||
"options": {
|
||
"calculate": false,
|
||
"cellGap": 2,
|
||
"color": {
|
||
"exponent": 0.5,
|
||
"fill": "dark-orange",
|
||
"min": 0,
|
||
"mode": "opacity",
|
||
"reverse": false,
|
||
"scale": "linear",
|
||
"scheme": "RdYlBu",
|
||
"steps": 17
|
||
},
|
||
"exemplars": {
|
||
"color": "rgba(255,0,255,0.7)"
|
||
},
|
||
"filterValues": {
|
||
"le": 0
|
||
},
|
||
"legend": {
|
||
"show": true
|
||
},
|
||
"rowsFrame": {
|
||
"layout": "auto"
|
||
},
|
||
"tooltip": {
|
||
"show": true,
|
||
"yHistogram": false
|
||
},
|
||
"yAxis": {
|
||
"axisPlacement": "left",
|
||
"axisWidth": 0,
|
||
"reverse": false
|
||
}
|
||
},
|
||
"pluginVersion": "9.4.7",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"editorMode": "code",
|
||
"exemplar": false,
|
||
"expr": "sum by(container) (increase(kube_pod_container_status_restarts_total[5m])) > 0",
|
||
"instant": false,
|
||
"interval": "0",
|
||
"legendFormat": "__auto",
|
||
"range": true,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Container Restarts",
|
||
"transformations": [],
|
||
"transparent": true,
|
||
"type": "heatmap"
|
||
},
|
||
{
|
||
"aliasColors": {
|
||
"Busy": "#EAB839",
|
||
"Busy Iowait": "#890F02",
|
||
"Busy other": "#1F78C1",
|
||
"Idle": "#052B51",
|
||
"Idle - Waiting for something to happen": "#052B51",
|
||
"guest": "#9AC48A",
|
||
"idle": "#052B51",
|
||
"iowait": "#EAB839",
|
||
"irq": "#BF1B00",
|
||
"nice": "#C15C17",
|
||
"softirq": "#E24D42",
|
||
"steal": "#FCE2DE",
|
||
"system": "#508642",
|
||
"user": "#5195CE"
|
||
},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"decimals": 2,
|
||
"description": "Basic CPU info",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 4,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 14
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 224,
|
||
"legend": {
|
||
"alignAsTable": false,
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"rightSide": false,
|
||
"show": true,
|
||
"sideWidth": 250,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"maxPerRow": 6,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": true,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [
|
||
{
|
||
"alias": "Busy Iowait",
|
||
"color": "#890F02"
|
||
},
|
||
{
|
||
"alias": "Idle",
|
||
"color": "#7EB26D"
|
||
},
|
||
{
|
||
"alias": "Busy System",
|
||
"color": "#EAB839"
|
||
},
|
||
{
|
||
"alias": "Busy User",
|
||
"color": "#0A437C"
|
||
},
|
||
{
|
||
"alias": "Busy Other",
|
||
"color": "#6D1F62"
|
||
}
|
||
],
|
||
"spaceLength": 10,
|
||
"stack": true,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "sum by (instance)(irate(node_cpu_seconds_total{mode=\"system\",instance=\"$node\"}[5m])) * 100",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Busy System",
|
||
"range": true,
|
||
"refId": "A",
|
||
"step": 240
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "sum by (instance)(irate(node_cpu_seconds_total{mode='user',instance=\"$node\"}[5m])) * 100",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Busy User",
|
||
"range": true,
|
||
"refId": "B",
|
||
"step": 240
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "sum by (instance)(irate(node_cpu_seconds_total{mode='iowait',instance=\"$node\"}[5m])) * 100",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Busy Iowait",
|
||
"range": true,
|
||
"refId": "C",
|
||
"step": 240
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "sum by (instance)(irate(node_cpu_seconds_total{mode=~\".*irq\",instance=\"$node\"}[5m])) * 100",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Busy IRQs",
|
||
"range": true,
|
||
"refId": "D",
|
||
"step": 240
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "sum (irate(node_cpu_seconds_total{mode!='idle',mode!='user',mode!='system',mode!='iowait',mode!='irq',mode!='softirq',instance=\"$node\"}[5m])) * 100",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Busy Other",
|
||
"range": true,
|
||
"refId": "E",
|
||
"step": 240
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "sum by (mode)(irate(node_cpu_seconds_total{mode='idle',instance=\"$node\"}[5m])) * 100",
|
||
"format": "time_series",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "Idle",
|
||
"range": true,
|
||
"refId": "F",
|
||
"step": 240
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "CPU Basic",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"label": "",
|
||
"logBase": 1,
|
||
"max": "100",
|
||
"min": "0",
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"decimals": 1,
|
||
"editable": true,
|
||
"error": false,
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 4,
|
||
"fillGradient": 0,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 14
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 184,
|
||
"isNew": true,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": true,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 2,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [
|
||
{
|
||
"alias": "Used",
|
||
"color": "#BF1B00"
|
||
},
|
||
{
|
||
"alias": "Free",
|
||
"color": "#7EB26D"
|
||
},
|
||
{
|
||
"alias": "Buffers",
|
||
"color": "#6ED0E0"
|
||
},
|
||
{
|
||
"alias": "Cached",
|
||
"color": "#EF843C"
|
||
}
|
||
],
|
||
"spaceLength": 10,
|
||
"stack": true,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "node_memory_MemTotal_bytes{instance=\"192.168.1.111:9100\"} - (node_memory_MemFree_bytes{instance=\"192.168.1.111:9100\"} + node_memory_Buffers_bytes{instance=\"192.168.1.111:9100\"} + node_memory_Cached_bytes{instance=\"192.168.1.111:9100\"} )",
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "Used",
|
||
"refId": "A",
|
||
"step": 1
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "node_memory_MemFree_bytes{instance=\"192.168.1.111:9100\"} ",
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "Free",
|
||
"refId": "B",
|
||
"step": 1
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "node_memory_Buffers_bytes{instance=\"192.168.1.111:9100\"} ",
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "Buffers",
|
||
"refId": "C",
|
||
"step": 1
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "node_memory_Cached_bytes{instance=\"192.168.1.111:9100\"} ",
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "Cached",
|
||
"refId": "D",
|
||
"step": 1
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Memory Usage",
|
||
"tooltip": {
|
||
"msResolution": true,
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"transparent": true,
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "bytes",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editable": true,
|
||
"error": false,
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 21
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 208,
|
||
"isNew": true,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": false,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 2,
|
||
"links": [],
|
||
"nullPointMode": "connected",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [
|
||
{
|
||
"alias": "read",
|
||
"yaxis": 1
|
||
},
|
||
{
|
||
"alias": "written",
|
||
"yaxis": 1
|
||
},
|
||
{
|
||
"alias": "io time",
|
||
"yaxis": 2
|
||
}
|
||
],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "sum(irate(node_disk_read_bytes_total[5m]))",
|
||
"interval": "2s",
|
||
"intervalFactor": 4,
|
||
"legendFormat": "read",
|
||
"metric": "",
|
||
"refId": "A",
|
||
"step": 8
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "sum(irate(node_disk_written_bytes_total[5m]))",
|
||
"interval": "2s",
|
||
"intervalFactor": 4,
|
||
"legendFormat": "written",
|
||
"metric": "",
|
||
"refId": "B",
|
||
"step": 8
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "sum(irate(node_disk_io_time_seconds_total[5m]))",
|
||
"interval": "2s",
|
||
"intervalFactor": 4,
|
||
"legendFormat": "io time",
|
||
"metric": "",
|
||
"refId": "C",
|
||
"step": 8
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "I/O Usage",
|
||
"tooltip": {
|
||
"msResolution": true,
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "cumulative"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "bytes",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "ms",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "continuous-GrYlRd",
|
||
"seriesBy": "last"
|
||
},
|
||
"custom": {
|
||
"axisCenteredZero": false,
|
||
"axisColorMode": "text",
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"axisSoftMin": 0,
|
||
"barAlignment": 0,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 0,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"lineInterpolation": "linear",
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
},
|
||
"showPoints": "auto",
|
||
"spanNulls": false,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "area"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 25
|
||
}
|
||
]
|
||
},
|
||
"unit": "percent"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 21
|
||
},
|
||
"id": 275,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": false
|
||
},
|
||
"tooltip": {
|
||
"mode": "single",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "avg(irate(node_cpu_seconds_total{instance=~\"$node\",mode=\"iowait\"}[5m])) * 100",
|
||
"instant": false,
|
||
"interval": "",
|
||
"legendFormat": "iowait",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "io wait",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": true,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editable": true,
|
||
"error": false,
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 6,
|
||
"x": 0,
|
||
"y": 27
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 194,
|
||
"isNew": true,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": false,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": false,
|
||
"linewidth": 2,
|
||
"links": [],
|
||
"nullPointMode": "connected",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [
|
||
{
|
||
"alias": "interrupts",
|
||
"color": "#806EB7"
|
||
}
|
||
],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": " irate(node_intr_total[5m])",
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "interrupts",
|
||
"metric": "node_intr_total",
|
||
"refId": "A",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Interrupts",
|
||
"tooltip": {
|
||
"msResolution": true,
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "cumulative"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": true,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editable": true,
|
||
"error": false,
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 6,
|
||
"x": 6,
|
||
"y": 27
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 196,
|
||
"isNew": true,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": false,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": false,
|
||
"linewidth": 2,
|
||
"links": [],
|
||
"nullPointMode": "connected",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [
|
||
{
|
||
"alias": "blocked by I/O",
|
||
"color": "#58140C"
|
||
}
|
||
],
|
||
"spaceLength": 10,
|
||
"stack": true,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "node_procs_running",
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "running",
|
||
"metric": "node_procs_running",
|
||
"refId": "A",
|
||
"step": 10
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "node_procs_blocked",
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "blocked by I/O",
|
||
"metric": "node_procs_blocked",
|
||
"refId": "B",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Processes",
|
||
"tooltip": {
|
||
"msResolution": true,
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"decimals": 2,
|
||
"editable": true,
|
||
"error": false,
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 4,
|
||
"fillGradient": 0,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 6,
|
||
"x": 12,
|
||
"y": 27
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 190,
|
||
"isNew": true,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 2,
|
||
"links": [],
|
||
"nullPointMode": "connected",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [
|
||
{
|
||
"alias": "Used",
|
||
"color": "#890F02"
|
||
},
|
||
{
|
||
"alias": "Free",
|
||
"color": "#7EB26D"
|
||
}
|
||
],
|
||
"spaceLength": 10,
|
||
"stack": true,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "node_memory_SwapTotal_bytes - node_memory_SwapFree_bytes",
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "Used",
|
||
"refId": "A",
|
||
"step": 10
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "node_memory_SwapFree_bytes",
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "Free",
|
||
"refId": "B",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Swap Usage",
|
||
"tooltip": {
|
||
"msResolution": true,
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "bytes",
|
||
"logBase": 1,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"decimals": 2,
|
||
"editable": true,
|
||
"error": false,
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 6,
|
||
"x": 18,
|
||
"y": 27
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 192,
|
||
"isNew": true,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"max": true,
|
||
"min": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 2,
|
||
"links": [],
|
||
"nullPointMode": "connected",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "rate(node_vmstat_pswpin[1m]) * 4096 or irate(node_vmstat_pswpin[5m]) * 4096",
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "In",
|
||
"refId": "A",
|
||
"step": 10
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "rate(node_vmstat_pswpout[1m]) * 4096 or irate(node_vmstat_pswpout[5m]) * 4096",
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "Out",
|
||
"refId": "B",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Swap I/O",
|
||
"tooltip": {
|
||
"msResolution": true,
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "cumulative"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "Bps",
|
||
"logBase": 1,
|
||
"min": 0,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"custom": {
|
||
"align": "auto",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
},
|
||
"filterable": true,
|
||
"inspect": false
|
||
},
|
||
"decimals": 2,
|
||
"displayName": "",
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "short"
|
||
},
|
||
"overrides": [
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "Time"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "displayName",
|
||
"value": "Time"
|
||
},
|
||
{
|
||
"id": "custom.align"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "mountpoint"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "displayName",
|
||
"value": "Partition"
|
||
},
|
||
{
|
||
"id": "unit",
|
||
"value": "bytes"
|
||
},
|
||
{
|
||
"id": "decimals",
|
||
"value": 2
|
||
},
|
||
{
|
||
"id": "custom.align"
|
||
},
|
||
{
|
||
"id": "thresholds",
|
||
"value": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "rgba(50, 172, 45, 0.97)",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "rgba(237, 129, 40, 0.89)"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "Value #A"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "displayName",
|
||
"value": "Available space"
|
||
},
|
||
{
|
||
"id": "unit",
|
||
"value": "bytes"
|
||
},
|
||
{
|
||
"id": "decimals",
|
||
"value": 2
|
||
},
|
||
{
|
||
"id": "custom.cellOptions",
|
||
"value": {
|
||
"type": "color-text"
|
||
}
|
||
},
|
||
{
|
||
"id": "custom.align"
|
||
},
|
||
{
|
||
"id": "thresholds",
|
||
"value": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "rgba(245, 54, 54, 0.9)",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "rgba(237, 129, 40, 0.89)",
|
||
"value": 10000000000
|
||
},
|
||
{
|
||
"color": "rgba(50, 172, 45, 0.97)",
|
||
"value": 20000000000
|
||
}
|
||
]
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "Value #B"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "displayName",
|
||
"value": "Usage rate"
|
||
},
|
||
{
|
||
"id": "unit",
|
||
"value": "percentunit"
|
||
},
|
||
{
|
||
"id": "decimals",
|
||
"value": 2
|
||
},
|
||
{
|
||
"id": "custom.cellOptions",
|
||
"value": {
|
||
"mode": "gradient",
|
||
"type": "color-background"
|
||
}
|
||
},
|
||
{
|
||
"id": "custom.align"
|
||
},
|
||
{
|
||
"id": "thresholds",
|
||
"value": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "rgba(50, 172, 45, 0.97)",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "rgba(237, 129, 40, 0.89)",
|
||
"value": 70
|
||
},
|
||
{
|
||
"color": "rgba(245, 54, 54, 0.9)",
|
||
"value": 90
|
||
}
|
||
]
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "Value #C"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "displayName",
|
||
"value": "Total space"
|
||
},
|
||
{
|
||
"id": "unit",
|
||
"value": "bytes"
|
||
},
|
||
{
|
||
"id": "decimals",
|
||
"value": 2
|
||
},
|
||
{
|
||
"id": "custom.align"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "fstype"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "displayName",
|
||
"value": "File system"
|
||
},
|
||
{
|
||
"id": "unit",
|
||
"value": "short"
|
||
},
|
||
{
|
||
"id": "decimals",
|
||
"value": 2
|
||
},
|
||
{
|
||
"id": "custom.align"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "device"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 245
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "File system"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 104
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "Available space"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 135
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "Total space"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 116
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "Partition"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 129
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "Usage rate"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 107
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 16,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 33
|
||
},
|
||
"id": 164,
|
||
"links": [],
|
||
"options": {
|
||
"footer": {
|
||
"countRows": false,
|
||
"fields": "",
|
||
"reducer": [
|
||
"sum"
|
||
],
|
||
"show": false
|
||
},
|
||
"showHeader": true,
|
||
"sortBy": []
|
||
},
|
||
"pluginVersion": "9.4.7",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editorMode": "builder",
|
||
"exemplar": true,
|
||
"expr": "sum by (device)(node_filesystem_avail_bytes{instance=~'$node',fstype=~\"ext4|xfs|zfs\",mountpoint!~\"/export.*\"})",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editorMode": "code",
|
||
"exemplar": true,
|
||
"expr": "sum by (device) (node_filesystem_size_bytes{instance=~'$node',fstype=~\"ext4|xfs|zfs\",mountpoint!~\"/export.*\"})",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "1-(node_filesystem_free_bytes{instance=~'$node',fstype=~\"ext4|xfs|zfs\",mountpoint!~\"/export.*\"} / node_filesystem_size_bytes{instance=~'$node',fstype=~\"ext4|xfs|zfs\",mountpoint!~\"/export.*\"})",
|
||
"format": "table",
|
||
"hide": false,
|
||
"instant": true,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"title": "Free space for each partition",
|
||
"transformations": [
|
||
{
|
||
"id": "merge",
|
||
"options": {
|
||
"reducers": []
|
||
}
|
||
},
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"Time": true,
|
||
"__name__": true,
|
||
"app": true,
|
||
"argocd_argoproj_io_instance": true,
|
||
"chart": true,
|
||
"component": true,
|
||
"container": true,
|
||
"endpoint": true,
|
||
"heritage": true,
|
||
"instance": true,
|
||
"job": true,
|
||
"kubernetes_name": true,
|
||
"kubernetes_namespace": true,
|
||
"kubernetes_node": true,
|
||
"namespace": true,
|
||
"pod": true,
|
||
"release": true,
|
||
"service": true
|
||
},
|
||
"indexByName": {
|
||
"Time": 0,
|
||
"Value #A": 4,
|
||
"Value #B": 17,
|
||
"Value #C": 5,
|
||
"app": 6,
|
||
"argocd_argoproj_io_instance": 7,
|
||
"chart": 8,
|
||
"component": 9,
|
||
"device": 1,
|
||
"fstype": 3,
|
||
"heritage": 10,
|
||
"instance": 11,
|
||
"job": 12,
|
||
"kubernetes_name": 13,
|
||
"kubernetes_namespace": 14,
|
||
"kubernetes_node": 15,
|
||
"mountpoint": 2,
|
||
"release": 16
|
||
},
|
||
"renameByName": {
|
||
"Time": ""
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"decimals": 0,
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 33
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 242,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": false,
|
||
"current": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"sideWidth": 350,
|
||
"total": true,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "irate(node_zfs_zpool_reads{instance=~\"$node\"}[5m])",
|
||
"format": "time_series",
|
||
"interval": "",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{zpool}} - reads",
|
||
"refId": "A",
|
||
"step": 2,
|
||
"target": ""
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "irate(node_zfs_zpool_writes{instance=~\"$node\"}[5m])",
|
||
"format": "time_series",
|
||
"interval": "",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{zpool}} - writes",
|
||
"refId": "B",
|
||
"step": 2,
|
||
"target": ""
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "ZPOOL - Ops",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "none",
|
||
"label": "",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"decimals": 0,
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 39
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 244,
|
||
"legend": {
|
||
"alignAsTable": false,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideEmpty": false,
|
||
"hideZero": false,
|
||
"max": false,
|
||
"min": false,
|
||
"rightSide": false,
|
||
"show": true,
|
||
"sideWidth": 350,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "irate(node_zfs_arc_demand_data_hits{instance=~\"$node\"}[5m]) / (irate(node_zfs_arc_demand_data_hits{instance=~\"$node\"}[5m]) + irate(node_zfs_arc_demand_data_misses{instance=~\"$node\"}[5m])) * 100",
|
||
"format": "time_series",
|
||
"interval": "",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "data",
|
||
"refId": "A",
|
||
"step": 2,
|
||
"target": ""
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "irate(node_zfs_arc_demand_metadata_hits{instance=~\"$node\"}[5m]) / (irate(node_zfs_arc_demand_metadata_hits{instance=~\"$node\"}[5m]) + irate(node_zfs_arc_demand_metadata_misses{instance=~\"$node\"}[5m])) * 100",
|
||
"format": "time_series",
|
||
"interval": "",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "metadata",
|
||
"refId": "B",
|
||
"step": 2,
|
||
"target": ""
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "ARC - Hit %",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "percent",
|
||
"label": "",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"description": "",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisCenteredZero": false,
|
||
"axisColorMode": "text",
|
||
"axisLabel": "bytes read (-) / write (+)",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 40,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"lineInterpolation": "linear",
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
},
|
||
"showPoints": "never",
|
||
"spanNulls": false,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "off"
|
||
}
|
||
},
|
||
"links": [],
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "bytes"
|
||
},
|
||
"overrides": [
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "io time"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "color",
|
||
"value": {
|
||
"fixedColor": "#890F02",
|
||
"mode": "fixed"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byRegexp",
|
||
"options": "/.*read*./"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.transform",
|
||
"value": "negative-Y"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byRegexp",
|
||
"options": "/.*sda.*/"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "color",
|
||
"value": {
|
||
"fixedColor": "#7EB26D",
|
||
"mode": "fixed"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byRegexp",
|
||
"options": "/.*sdb.*/"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "color",
|
||
"value": {
|
||
"fixedColor": "#EAB839",
|
||
"mode": "fixed"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byRegexp",
|
||
"options": "/.*sdc.*/"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "color",
|
||
"value": {
|
||
"fixedColor": "#6ED0E0",
|
||
"mode": "fixed"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byRegexp",
|
||
"options": "/.*sdd.*/"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "color",
|
||
"value": {
|
||
"fixedColor": "#EF843C",
|
||
"mode": "fixed"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byRegexp",
|
||
"options": "/.*sde.*/"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "color",
|
||
"value": {
|
||
"fixedColor": "#E24D42",
|
||
"mode": "fixed"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byType",
|
||
"options": "time"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.axisPlacement",
|
||
"value": "hidden"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 13,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 49
|
||
},
|
||
"id": 222,
|
||
"links": [],
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [
|
||
"mean",
|
||
"lastNotNull",
|
||
"max",
|
||
"min"
|
||
],
|
||
"displayMode": "table",
|
||
"placement": "right",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"mode": "multi",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "9.4.7",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editorMode": "code",
|
||
"exemplar": true,
|
||
"expr": "irate(node_disk_read_bytes_total{instance=\"192.168.1.111:9100\",device=~\"$diskdevices\"}[5m])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"interval": "",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{device}} - Successfully read bytes",
|
||
"range": true,
|
||
"refId": "A",
|
||
"step": 240
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "irate(node_disk_written_bytes_total{instance=\"$node\",device=~\"$diskdevices\"}[5m])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{device}} - Successfully written bytes",
|
||
"range": true,
|
||
"refId": "B",
|
||
"step": 240
|
||
}
|
||
],
|
||
"title": "I/O Usage Read / Write",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 62
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 169,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": true,
|
||
"hideEmpty": true,
|
||
"hideZero": true,
|
||
"max": true,
|
||
"min": false,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"sort": "current",
|
||
"sortDesc": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null as zero",
|
||
"options": {
|
||
"alertThreshold": false
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 0.5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "node_hwmon_temp_celsius{instance=~'$node'}",
|
||
"format": "time_series",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{instance}}_{{chip}}_{{sensor}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Hardware temperature",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:1355",
|
||
"format": "celsius",
|
||
"label": "",
|
||
"logBase": 1,
|
||
"max": "120",
|
||
"min": "0",
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:1356",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"collapsed": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 71
|
||
},
|
||
"id": 238,
|
||
"panels": [],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Kubernetes",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"description": "",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisCenteredZero": false,
|
||
"axisColorMode": "text",
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 0,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"lineInterpolation": "linear",
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
},
|
||
"showPoints": "auto",
|
||
"spanNulls": false,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "off"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "bytes"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 9,
|
||
"x": 0,
|
||
"y": 72
|
||
},
|
||
"id": 314,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": false
|
||
},
|
||
"tooltip": {
|
||
"mode": "single",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"editorMode": "builder",
|
||
"expr": "rate(cilium_forward_bytes_total[5m])",
|
||
"instant": true,
|
||
"key": "Q-ca459bcd-39ad-454c-8e73-36b5eca961d4-0",
|
||
"legendFormat": "{{direction}}",
|
||
"range": true,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Cilium Forwarded Bytes",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisCenteredZero": false,
|
||
"axisColorMode": "text",
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 0,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"lineInterpolation": "linear",
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
},
|
||
"showPoints": "auto",
|
||
"spanNulls": false,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "off"
|
||
}
|
||
},
|
||
"decimals": 1,
|
||
"mappings": [],
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 15,
|
||
"x": 9,
|
||
"y": 72
|
||
},
|
||
"id": 315,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "table",
|
||
"placement": "right",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"mode": "single",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "rate(cilium_drop_count_total[5m])",
|
||
"instant": true,
|
||
"key": "Q-44cd0f3d-eb90-4d47-8da5-9d9e03330cd9-0",
|
||
"legendFormat": "{{ direction }}: {{reason}}",
|
||
"range": true,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Cilium Dropped Package Count",
|
||
"transformations": [],
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"decimals": 2,
|
||
"description": "",
|
||
"editable": true,
|
||
"error": false,
|
||
"fill": 1,
|
||
"fillGradient": 1,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 17,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 80
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 254,
|
||
"isNew": true,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": true,
|
||
"max": false,
|
||
"min": false,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"sideWidth": 600,
|
||
"sort": "current",
|
||
"sortDesc": true,
|
||
"total": true,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 2,
|
||
"links": [],
|
||
"nullPointMode": "connected",
|
||
"options": {
|
||
"alertThreshold": false
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "sum (rate(container_network_receive_bytes_total{image!=\"\"}[5m])) by (pod)",
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "-> {{ pod }}",
|
||
"metric": "network",
|
||
"refId": "A",
|
||
"step": 10
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "- sum (rate(container_network_transmit_bytes_total{image!=\"\"}[5m])) by (pod)",
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "<- {{ pod}}",
|
||
"metric": "network",
|
||
"refId": "B",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Pods network I/O (1m avg)",
|
||
"tooltip": {
|
||
"msResolution": false,
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "cumulative"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:394",
|
||
"format": "Bps",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:395",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"decimals": 2,
|
||
"editable": true,
|
||
"error": false,
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 97
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 214,
|
||
"isNew": true,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": true,
|
||
"max": false,
|
||
"min": false,
|
||
"rightSide": false,
|
||
"show": true,
|
||
"sideWidth": 200,
|
||
"sort": "current",
|
||
"sortDesc": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 2,
|
||
"links": [],
|
||
"nullPointMode": "connected",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "sort_desc(sum by (pod_name) (rate (container_network_receive_bytes_total{name!=\"\"}[5m])))",
|
||
"format": "time_series",
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{ pod_name }}",
|
||
"metric": "network",
|
||
"refId": "A",
|
||
"step": 10
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "sort_desc(sum by (pod_name) (rate (container_network_transmit_bytes_total{name!=\"\"}[5m])))",
|
||
"format": "time_series",
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{ pod_name }}",
|
||
"metric": "network",
|
||
"refId": "B",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Pod Network i/o",
|
||
"tooltip": {
|
||
"msResolution": false,
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "cumulative"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "bytes",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 97
|
||
},
|
||
"height": "300",
|
||
"hiddenSeries": false,
|
||
"id": 157,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": false,
|
||
"current": true,
|
||
"hideEmpty": true,
|
||
"hideZero": true,
|
||
"max": false,
|
||
"min": false,
|
||
"rightSide": false,
|
||
"show": true,
|
||
"sort": "current",
|
||
"sortDesc": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 2,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [
|
||
{
|
||
"alias": "/.*_out upload$/",
|
||
"transform": "negative-Y"
|
||
}
|
||
],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "irate(node_network_receive_bytes_total{instance=~'$node',device!~'tap.*|veth.*|br.*|docker.*|virbr*|lo*|cali.*'}[5m])*8",
|
||
"format": "time_series",
|
||
"interval": "",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{instance}}_{{device}}_in download",
|
||
"refId": "A",
|
||
"step": 4
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "irate(node_network_transmit_bytes_total{instance=~'$node',device!~'tap.*|veth.*|br.*|docker.*|virbr*|lo*|cali.*'}[5m])*8",
|
||
"format": "time_series",
|
||
"interval": "",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{instance}}_{{device}}_out upload",
|
||
"refId": "B",
|
||
"step": 4
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Network traffic",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:458",
|
||
"format": "bps",
|
||
"label": "upload(-)/download(+)",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:459",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"decimals": 2,
|
||
"editable": true,
|
||
"error": false,
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 105
|
||
},
|
||
"height": "200px",
|
||
"hiddenSeries": false,
|
||
"id": 246,
|
||
"isNew": true,
|
||
"legend": {
|
||
"alignAsTable": false,
|
||
"avg": true,
|
||
"current": true,
|
||
"max": false,
|
||
"min": false,
|
||
"rightSide": false,
|
||
"show": false,
|
||
"sideWidth": 200,
|
||
"sort": "current",
|
||
"sortDesc": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 2,
|
||
"links": [],
|
||
"nullPointMode": "connected",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "rate(nginx_ingress_controller_request_size_sum[5m])",
|
||
"format": "time_series",
|
||
"instant": false,
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "Received",
|
||
"metric": "network",
|
||
"refId": "A",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Ingress - Network I/O pressure",
|
||
"tooltip": {
|
||
"msResolution": false,
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "cumulative"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "Bps",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "Bps",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {
|
||
"max - istio-proxy": "#890f02",
|
||
"max - master": "#bf1b00",
|
||
"max - prometheus": "#bf1b00"
|
||
},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"decimals": 2,
|
||
"description": "",
|
||
"editable": false,
|
||
"error": false,
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 105
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 252,
|
||
"isNew": true,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideEmpty": true,
|
||
"hideZero": false,
|
||
"max": false,
|
||
"min": false,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"sideWidth": 300,
|
||
"sort": "avg",
|
||
"sortDesc": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 2,
|
||
"links": [],
|
||
"nullPointMode": "connected",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editorMode": "code",
|
||
"exemplar": true,
|
||
"expr": "sum(rate(nginx_ingress_controller_requests{controller_namespace=\"ingress-external\", status!~\"[4-5].*\"}[5m])) by (ingress) / sum(rate(nginx_ingress_controller_requests{controller_namespace=\"ingress-external\"}[5m])) by (ingress)",
|
||
"format": "time_series",
|
||
"instant": false,
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{ ingress }}",
|
||
"metric": "container_memory_usage:sort_desc",
|
||
"refId": "A",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "External Ingress Success Rate (non-4|5xx responses)",
|
||
"tooltip": {
|
||
"msResolution": false,
|
||
"shared": true,
|
||
"sort": 1,
|
||
"value_type": "cumulative"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "percentunit",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"decimals": 3,
|
||
"editable": true,
|
||
"error": false,
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 111
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 210,
|
||
"isNew": true,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": true,
|
||
"max": false,
|
||
"min": false,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"sort": "current",
|
||
"sortDesc": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 2,
|
||
"links": [],
|
||
"nullPointMode": "connected",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "sum by (container_name)( rate(container_cpu_usage_seconds_total{image!=\"\"}[5m] ) )",
|
||
"format": "time_series",
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{ container_name }}",
|
||
"metric": "container_cpu",
|
||
"refId": "A",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Pod CPU usage",
|
||
"tooltip": {
|
||
"msResolution": true,
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "cumulative"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "percent",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {
|
||
"TCP": "#6ED0E0"
|
||
},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"description": "CurrEstab - number of TCP connections with current state of ESTABLISHED or CLOSE-WAIT\n\nActiveOpens - TCP average connections that have been converted from the CLOSED state to the SYN-SENT state (within 1 minute)\n\nPassiveOpens - TCP average connections that have been converted from the LISTEN state to the SYN-RCVD state (within 1 minute)\n\nTCP_alloc - the number of TCP sockets that have been allocated (established, applied to sk_buff)\n\nTCP_inuse - the number of TCP sockets being used (listening)\n\nTCP_tw - number of TCP connections waiting to be closed",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 111
|
||
},
|
||
"height": "300",
|
||
"hiddenSeries": false,
|
||
"id": 158,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": false,
|
||
"current": true,
|
||
"max": true,
|
||
"min": false,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "node_netstat_Tcp_CurrEstab{instance=~'$node'}",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{instance}}_ESTABLISHED",
|
||
"refId": "A",
|
||
"step": 20
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "node_sockstat_TCP_tw{instance=~'$node'}",
|
||
"format": "time_series",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{instance}}_TCP_tw",
|
||
"refId": "D"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "irate(node_netstat_Tcp_ActiveOpens{instance=~'$node'}[1m])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{instance}}_ActiveOpens",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "irate(node_netstat_Tcp_PassiveOpens{instance=~'$node'}[1m])",
|
||
"format": "time_series",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{instance}}_PassiveOpens",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "node_sockstat_TCP_alloc{instance=~'$node'}",
|
||
"format": "time_series",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{instance}}_TCP_alloc",
|
||
"refId": "E"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "node_sockstat_TCP_inuse{instance=~'$node'}",
|
||
"format": "time_series",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{instance}}_TCP_inuse",
|
||
"refId": "F"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "TCP Connection situation",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"decimals": 2,
|
||
"editable": true,
|
||
"error": false,
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 118
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 212,
|
||
"isNew": true,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": true,
|
||
"max": false,
|
||
"min": false,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"sideWidth": 500,
|
||
"sort": "current",
|
||
"sortDesc": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 2,
|
||
"links": [],
|
||
"nullPointMode": "connected",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"expr": "sort_desc(sum(container_memory_usage_bytes{image!=\"\"}) by (container_name, image))",
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{ container_name }}",
|
||
"metric": "container_memory_usage:sort_desc",
|
||
"refId": "A",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Pod memory usage",
|
||
"tooltip": {
|
||
"msResolution": false,
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "cumulative"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "bytes",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"decimals": 2,
|
||
"editable": true,
|
||
"error": false,
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"unit": "s"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 7,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 125
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 300,
|
||
"isNew": true,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": true,
|
||
"max": false,
|
||
"min": false,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"sideWidth": 200,
|
||
"sort": "current",
|
||
"sortDesc": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 2,
|
||
"links": [],
|
||
"nullPointMode": "connected",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate (container_cpu_usage_seconds_total{image!=\"\"}[5m]) ",
|
||
"interval": "10s",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{ container }}",
|
||
"metric": "container_memory_usage:sort_desc",
|
||
"refId": "A",
|
||
"step": 10
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Container CPU usage",
|
||
"tooltip": {
|
||
"msResolution": false,
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "cumulative"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "s",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"collapsed": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 132
|
||
},
|
||
"id": 236,
|
||
"panels": [],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "OpenWRT",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"aliasColors": {
|
||
"receive_packets_eth0": "#7EB26D",
|
||
"receive_packets_lo": "#E24D42",
|
||
"transmit_packets_eth0": "#7EB26D",
|
||
"transmit_packets_lo": "#E24D42"
|
||
},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 2,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 13,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 133
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 234,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": true,
|
||
"hideEmpty": true,
|
||
"hideZero": true,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"sideWidth": 500,
|
||
"sort": "avg",
|
||
"sortDesc": true,
|
||
"total": true,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [
|
||
{
|
||
"alias": "/.*Trans.*/",
|
||
"transform": "negative-Y"
|
||
},
|
||
{
|
||
"alias": "/.*lo.*/",
|
||
"color": "#7EB26D"
|
||
},
|
||
{
|
||
"alias": "/.*eth0.*/",
|
||
"color": "#EAB839"
|
||
},
|
||
{
|
||
"alias": "/.*eth1.*/",
|
||
"color": "#6ED0E0"
|
||
},
|
||
{
|
||
"alias": "/.*eth2.*/",
|
||
"color": "#EF843C"
|
||
},
|
||
{
|
||
"alias": "/.*eth3.*/",
|
||
"color": "#E24D42"
|
||
},
|
||
{
|
||
"alias": "/.*eth4.*/",
|
||
"color": "#1F78C1"
|
||
},
|
||
{
|
||
"alias": "/.*eth5.*/",
|
||
"color": "#BA43A9"
|
||
}
|
||
],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editorMode": "code",
|
||
"exemplar": true,
|
||
"expr": "irate(node_network_receive_bytes_total{instance=~\"192.168.1.1:9100\",job=~\"openwrt-router\"}[5m])/1024",
|
||
"format": "time_series",
|
||
"interval": "",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{device}} - Receive",
|
||
"range": true,
|
||
"refId": "O",
|
||
"step": 4
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "irate(node_network_transmit_bytes_total{instance=~\"192.168.1.1:9100\",job=~\"openwrt\"}[5m])/1024",
|
||
"format": "time_series",
|
||
"interval": "",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{device}} - Transmit",
|
||
"refId": "P",
|
||
"step": 4
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "OpenWRT - Network Traffic by Bytes",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:201",
|
||
"format": "deckbytes",
|
||
"label": "Bytes out (-) / in (+)",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:202",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {
|
||
"receive_packets_eth0": "#7EB26D",
|
||
"receive_packets_lo": "#E24D42",
|
||
"transmit_packets_eth0": "#7EB26D",
|
||
"transmit_packets_lo": "#E24D42"
|
||
},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 2,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 13,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 146
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 303,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": true,
|
||
"hideEmpty": true,
|
||
"hideZero": true,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"sideWidth": 500,
|
||
"sort": "avg",
|
||
"sortDesc": true,
|
||
"total": true,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "9.4.7",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [
|
||
{
|
||
"alias": "/.*Trans.*/",
|
||
"transform": "negative-Y"
|
||
},
|
||
{
|
||
"alias": "/.*lo.*/",
|
||
"color": "#7EB26D"
|
||
},
|
||
{
|
||
"alias": "/.*eth0.*/",
|
||
"color": "#EAB839"
|
||
},
|
||
{
|
||
"alias": "/.*eth1.*/",
|
||
"color": "#6ED0E0"
|
||
},
|
||
{
|
||
"alias": "/.*eth2.*/",
|
||
"color": "#EF843C"
|
||
},
|
||
{
|
||
"alias": "/.*eth3.*/",
|
||
"color": "#E24D42"
|
||
},
|
||
{
|
||
"alias": "/.*eth4.*/",
|
||
"color": "#1F78C1"
|
||
},
|
||
{
|
||
"alias": "/.*eth5.*/",
|
||
"color": "#BA43A9"
|
||
}
|
||
],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"editorMode": "code",
|
||
"exemplar": true,
|
||
"expr": "irate(node_network_receive_bytes_total{instance=~\"192.168.1.2:9100\",job=~\"openwrt-bridge\"}[5m])/1024",
|
||
"format": "time_series",
|
||
"interval": "",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{device}} - Receive",
|
||
"range": true,
|
||
"refId": "O",
|
||
"step": 4
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "irate(node_network_transmit_bytes_total{instance=~\"192.168.1.1:9100\",job=~\"openwrt\"}[5m])/1024",
|
||
"format": "time_series",
|
||
"interval": "",
|
||
"intervalFactor": 2,
|
||
"legendFormat": "{{device}} - Transmit",
|
||
"refId": "P",
|
||
"step": 4
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Wifi Bridge - Network Traffic by Bytes",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:201",
|
||
"format": "deckbytes",
|
||
"label": "Bytes out (-) / in (+)",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:202",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
}
|
||
],
|
||
"refresh": "1m",
|
||
"revision": 1,
|
||
"schemaVersion": 38,
|
||
"style": "dark",
|
||
"tags": [],
|
||
"templating": {
|
||
"list": [
|
||
{
|
||
"allFormat": "glob",
|
||
"current": {
|
||
"selected": true,
|
||
"text": [
|
||
"All"
|
||
],
|
||
"value": [
|
||
"$__all"
|
||
]
|
||
},
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"definition": "",
|
||
"hide": 0,
|
||
"includeAll": true,
|
||
"label": "surroundings",
|
||
"multi": true,
|
||
"multiFormat": "regex values",
|
||
"name": "env",
|
||
"options": [],
|
||
"query": {
|
||
"query": "label_values(node_exporter_build_info,env)",
|
||
"refId": "Prometheus-1-env-Variable-Query"
|
||
},
|
||
"refresh": 2,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 1,
|
||
"tagValuesQuery": "",
|
||
"tagsQuery": "",
|
||
"type": "query",
|
||
"useTags": false
|
||
},
|
||
{
|
||
"allFormat": "glob",
|
||
"allValue": "",
|
||
"current": {
|
||
"selected": true,
|
||
"text": [
|
||
"All"
|
||
],
|
||
"value": [
|
||
"$__all"
|
||
]
|
||
},
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"definition": "label_values(node_exporter_build_info{env=~'$env'},name)",
|
||
"hide": 0,
|
||
"includeAll": true,
|
||
"label": "CPU name",
|
||
"multi": true,
|
||
"multiFormat": "regex values",
|
||
"name": "name",
|
||
"options": [],
|
||
"query": {
|
||
"query": "label_values(node_exporter_build_info{env=~'$env'},name)",
|
||
"refId": "Prometheus-1-name-Variable-Query"
|
||
},
|
||
"refresh": 2,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 1,
|
||
"tagsQuery": "",
|
||
"type": "query",
|
||
"useTags": false
|
||
},
|
||
{
|
||
"allFormat": "glob",
|
||
"current": {
|
||
"selected": false,
|
||
"text": "192.168.1.111:9100",
|
||
"value": "192.168.1.111:9100"
|
||
},
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"definition": "label_values(node_exporter_build_info{name=~'$name'},instance)",
|
||
"hide": 0,
|
||
"includeAll": false,
|
||
"label": "Host:",
|
||
"multi": false,
|
||
"multiFormat": "regex values",
|
||
"name": "node",
|
||
"options": [],
|
||
"query": {
|
||
"query": "label_values(node_exporter_build_info{name=~'$name'},instance)",
|
||
"refId": "StandardVariableQuery"
|
||
},
|
||
"refresh": 2,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 1,
|
||
"tagValuesQuery": "",
|
||
"tagsQuery": "",
|
||
"type": "query",
|
||
"useTags": false
|
||
},
|
||
{
|
||
"current": {
|
||
"selected": false,
|
||
"text": [
|
||
"All"
|
||
],
|
||
"value": [
|
||
"$__all"
|
||
]
|
||
},
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"definition": "label_values(node_uname_info, job)",
|
||
"hide": 0,
|
||
"includeAll": true,
|
||
"multi": true,
|
||
"name": "job",
|
||
"options": [],
|
||
"query": {
|
||
"query": "label_values(node_uname_info, job)",
|
||
"refId": "StandardVariableQuery"
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"tagValuesQuery": "",
|
||
"tagsQuery": "",
|
||
"type": "query",
|
||
"useTags": false
|
||
},
|
||
{
|
||
"current": {
|
||
"selected": false,
|
||
"text": "[a-z]+|nvme[0-9]+n[0-9]+",
|
||
"value": "[a-z]+|nvme[0-9]+n[0-9]+"
|
||
},
|
||
"description": "",
|
||
"hide": 2,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "diskdevices",
|
||
"options": [
|
||
{
|
||
"selected": true,
|
||
"text": "[a-z]+|nvme[0-9]+n[0-9]+",
|
||
"value": "[a-z]+|nvme[0-9]+n[0-9]+"
|
||
}
|
||
],
|
||
"query": "[a-z]+|nvme[0-9]+n[0-9]+",
|
||
"skipUrlSync": false,
|
||
"type": "custom"
|
||
},
|
||
{
|
||
"allValue": ".*",
|
||
"current": {
|
||
"selected": false,
|
||
"text": "All",
|
||
"value": "$__all"
|
||
},
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"definition": "label_values(kube_pod_info, namespace)",
|
||
"hide": 0,
|
||
"includeAll": true,
|
||
"multi": false,
|
||
"name": "namespace",
|
||
"options": [],
|
||
"query": {
|
||
"query": "label_values(kube_pod_info, namespace)",
|
||
"refId": "StandardVariableQuery"
|
||
},
|
||
"refresh": 1,
|
||
"regex": "argocd",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"tagValuesQuery": "",
|
||
"tagsQuery": "",
|
||
"type": "query",
|
||
"useTags": false
|
||
},
|
||
{
|
||
"allValue": ".*",
|
||
"current": {
|
||
"selected": false,
|
||
"text": "All",
|
||
"value": "$__all"
|
||
},
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"definition": "label_values(argocd_cluster_info, server)",
|
||
"hide": 0,
|
||
"includeAll": true,
|
||
"multi": false,
|
||
"name": "cluster",
|
||
"options": [],
|
||
"query": {
|
||
"query": "label_values(argocd_cluster_info, server)",
|
||
"refId": "StandardVariableQuery"
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"tagValuesQuery": "",
|
||
"tagsQuery": "",
|
||
"type": "query",
|
||
"useTags": false
|
||
},
|
||
{
|
||
"allValue": ".*",
|
||
"current": {
|
||
"selected": false,
|
||
"text": "All",
|
||
"value": "$__all"
|
||
},
|
||
"hide": 0,
|
||
"includeAll": true,
|
||
"multi": false,
|
||
"name": "health_status",
|
||
"options": [
|
||
{
|
||
"selected": true,
|
||
"text": "All",
|
||
"value": "$__all"
|
||
},
|
||
{
|
||
"selected": false,
|
||
"text": "Healthy",
|
||
"value": "Healthy"
|
||
},
|
||
{
|
||
"selected": false,
|
||
"text": "Progressing",
|
||
"value": "Progressing"
|
||
},
|
||
{
|
||
"selected": false,
|
||
"text": "Suspended",
|
||
"value": "Suspended"
|
||
},
|
||
{
|
||
"selected": false,
|
||
"text": "Missing",
|
||
"value": "Missing"
|
||
},
|
||
{
|
||
"selected": false,
|
||
"text": "Degraded",
|
||
"value": "Degraded"
|
||
},
|
||
{
|
||
"selected": false,
|
||
"text": "Unknown",
|
||
"value": "Unknown"
|
||
}
|
||
],
|
||
"query": "Healthy,Progressing,Suspended,Missing,Degraded,Unknown",
|
||
"queryValue": "",
|
||
"skipUrlSync": false,
|
||
"type": "custom"
|
||
},
|
||
{
|
||
"allValue": ".*",
|
||
"current": {
|
||
"selected": false,
|
||
"text": "All",
|
||
"value": "$__all"
|
||
},
|
||
"hide": 0,
|
||
"includeAll": true,
|
||
"multi": false,
|
||
"name": "sync_status",
|
||
"options": [
|
||
{
|
||
"selected": true,
|
||
"text": "All",
|
||
"value": "$__all"
|
||
},
|
||
{
|
||
"selected": false,
|
||
"text": "Synced",
|
||
"value": "Synced"
|
||
},
|
||
{
|
||
"selected": false,
|
||
"text": "OutOfSync",
|
||
"value": "OutOfSync"
|
||
},
|
||
{
|
||
"selected": false,
|
||
"text": "Unknown",
|
||
"value": "Unknown"
|
||
}
|
||
],
|
||
"query": "Synced,OutOfSync,Unknown",
|
||
"queryValue": "",
|
||
"skipUrlSync": false,
|
||
"type": "custom"
|
||
},
|
||
{
|
||
"current": {
|
||
"selected": false,
|
||
"text": "Prometheus",
|
||
"value": "Prometheus"
|
||
},
|
||
"hide": 0,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "datasource",
|
||
"options": [],
|
||
"query": "prometheus",
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"type": "datasource"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "$datasource"
|
||
},
|
||
"filters": [],
|
||
"hide": 0,
|
||
"name": "Filters",
|
||
"skipUrlSync": false,
|
||
"type": "adhoc"
|
||
},
|
||
{
|
||
"current": {
|
||
"selected": false,
|
||
"text": "All",
|
||
"value": "$__all"
|
||
},
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"definition": "label_values(nginx_ingress_controller_config_hash{namespace=~\"$namespace\"}, controller_class) ",
|
||
"hide": 0,
|
||
"includeAll": true,
|
||
"label": "Controller Class",
|
||
"multi": false,
|
||
"name": "controller_class",
|
||
"options": [],
|
||
"query": {
|
||
"query": "label_values(nginx_ingress_controller_config_hash{namespace=~\"$namespace\"}, controller_class) ",
|
||
"refId": "StandardVariableQuery"
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"tagValuesQuery": "",
|
||
"tagsQuery": "",
|
||
"type": "query",
|
||
"useTags": false
|
||
},
|
||
{
|
||
"current": {
|
||
"selected": false,
|
||
"text": "All",
|
||
"value": "$__all"
|
||
},
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "prometheus"
|
||
},
|
||
"definition": "label_values(nginx_ingress_controller_config_hash{namespace=~\"$namespace\",controller_class=~\"$controller_class\"}, controller_pod) ",
|
||
"hide": 0,
|
||
"includeAll": true,
|
||
"multi": false,
|
||
"name": "controller",
|
||
"options": [],
|
||
"query": {
|
||
"query": "label_values(nginx_ingress_controller_config_hash{namespace=~\"$namespace\",controller_class=~\"$controller_class\"}, controller_pod) ",
|
||
"refId": "StandardVariableQuery"
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"tagValuesQuery": "",
|
||
"tagsQuery": "",
|
||
"type": "query",
|
||
"useTags": false
|
||
}
|
||
]
|
||
},
|
||
"time": {
|
||
"from": "now-24h",
|
||
"to": "now"
|
||
},
|
||
"timepicker": {
|
||
"now": true,
|
||
"refresh_intervals": [
|
||
"5s",
|
||
"10s",
|
||
"30s",
|
||
"1m",
|
||
"5m",
|
||
"15m",
|
||
"30m",
|
||
"1h",
|
||
"2h",
|
||
"1d"
|
||
],
|
||
"time_options": [
|
||
"5m",
|
||
"15m",
|
||
"1h",
|
||
"6h",
|
||
"12h",
|
||
"24h",
|
||
"2d",
|
||
"7d",
|
||
"30d"
|
||
]
|
||
},
|
||
"timezone": "browser",
|
||
"title": "~| The Hive |~",
|
||
"uid": "9CWBz0bik",
|
||
"version": 23,
|
||
"weekStart": ""
|
||
}
|