|
@@ -0,0 +1,2556 @@
|
|
|
+{
|
|
|
+ "annotations": {
|
|
|
+ "list": [
|
|
|
+ {
|
|
|
+ "builtIn": 1,
|
|
|
+ "datasource": "-- 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": "Dashboard with details of the container and host OS metrics for Raspberry Pi by Oijkn.",
|
|
|
+ "editable": true,
|
|
|
+ "fiscalYearStartMonth": 0,
|
|
|
+ "gnetId": 10566,
|
|
|
+ "graphTooltip": 1,
|
|
|
+ "id": 1,
|
|
|
+ "iteration": 1641324698233,
|
|
|
+ "links": [],
|
|
|
+ "liveNow": false,
|
|
|
+ "panels": [
|
|
|
+ {
|
|
|
+ "cacheTimeout": null,
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "description": "Time during which Pi is in operation",
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "decimals": 1,
|
|
|
+ "mappings": [
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "match": "null",
|
|
|
+ "result": {
|
|
|
+ "text": "N/A"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "type": "special"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "s"
|
|
|
+ },
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 4,
|
|
|
+ "w": 3,
|
|
|
+ "x": 0,
|
|
|
+ "y": 0
|
|
|
+ },
|
|
|
+ "id": 24,
|
|
|
+ "interval": null,
|
|
|
+ "links": [],
|
|
|
+ "maxDataPoints": 100,
|
|
|
+ "options": {
|
|
|
+ "colorMode": "value",
|
|
|
+ "graphMode": "none",
|
|
|
+ "justifyMode": "auto",
|
|
|
+ "orientation": "horizontal",
|
|
|
+ "reduceOptions": {
|
|
|
+ "calcs": [
|
|
|
+ "lastNotNull"
|
|
|
+ ],
|
|
|
+ "fields": "",
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "text": {},
|
|
|
+ "textMode": "auto"
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.2.5",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "time() - node_boot_time_seconds",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 1800
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "Uptime",
|
|
|
+ "type": "stat"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "cacheTimeout": null,
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "description": "Total containers running",
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "mappings": [
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "match": "null",
|
|
|
+ "result": {
|
|
|
+ "text": "N/A"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "type": "special"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "red",
|
|
|
+ "value": 80
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "none"
|
|
|
+ },
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 4,
|
|
|
+ "w": 3,
|
|
|
+ "x": 3,
|
|
|
+ "y": 0
|
|
|
+ },
|
|
|
+ "id": 31,
|
|
|
+ "interval": null,
|
|
|
+ "links": [],
|
|
|
+ "maxDataPoints": 100,
|
|
|
+ "options": {
|
|
|
+ "colorMode": "value",
|
|
|
+ "graphMode": "none",
|
|
|
+ "justifyMode": "auto",
|
|
|
+ "orientation": "horizontal",
|
|
|
+ "reduceOptions": {
|
|
|
+ "calcs": [
|
|
|
+ "lastNotNull"
|
|
|
+ ],
|
|
|
+ "fields": "",
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "text": {},
|
|
|
+ "textMode": "auto"
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.2.5",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "exemplar": true,
|
|
|
+ "expr": "count(container_tasks_state{image!=\"\"} and container_tasks_state{state=~\"running\"})",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 1800
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "Containers",
|
|
|
+ "type": "stat"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "cacheTimeout": null,
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "description": "Busy state of all CPU cores together",
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "thresholds"
|
|
|
+ },
|
|
|
+ "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": 85
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "rgba(245, 54, 54, 0.9)",
|
|
|
+ "value": 95
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "percent"
|
|
|
+ },
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 4,
|
|
|
+ "w": 3,
|
|
|
+ "x": 6,
|
|
|
+ "y": 0
|
|
|
+ },
|
|
|
+ "id": 52,
|
|
|
+ "links": [],
|
|
|
+ "options": {
|
|
|
+ "orientation": "horizontal",
|
|
|
+ "reduceOptions": {
|
|
|
+ "calcs": [
|
|
|
+ "lastNotNull"
|
|
|
+ ],
|
|
|
+ "fields": "",
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "showThresholdLabels": false,
|
|
|
+ "showThresholdMarkers": true,
|
|
|
+ "text": {}
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.2.5",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "exemplar": true,
|
|
|
+ "expr": "(((count(count(node_cpu_seconds_total) by (cpu))) - avg(sum by (mode)(rate(node_cpu_seconds_total{mode='idle'}[$__rate_interval])))) * 100) / count(count(node_cpu_seconds_total) by (cpu))",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 1,
|
|
|
+ "legendFormat": "",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 240
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "CPU Busy",
|
|
|
+ "type": "gauge"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "cacheTimeout": null,
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "description": "Non available RAM memory",
|
|
|
+ "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": 4,
|
|
|
+ "w": 3,
|
|
|
+ "x": 9,
|
|
|
+ "y": 0
|
|
|
+ },
|
|
|
+ "hideTimeOverride": false,
|
|
|
+ "id": 54,
|
|
|
+ "links": [],
|
|
|
+ "options": {
|
|
|
+ "orientation": "horizontal",
|
|
|
+ "reduceOptions": {
|
|
|
+ "calcs": [
|
|
|
+ "lastNotNull"
|
|
|
+ ],
|
|
|
+ "fields": "",
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "showThresholdLabels": false,
|
|
|
+ "showThresholdMarkers": true,
|
|
|
+ "text": {}
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.2.5",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "exemplar": true,
|
|
|
+ "expr": "((node_memory_MemTotal_bytes - node_memory_MemFree_bytes) / (node_memory_MemTotal_bytes )) * 100",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": true,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 1,
|
|
|
+ "legendFormat": "",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 240
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "exemplar": true,
|
|
|
+ "expr": "100 - ((node_memory_MemAvailable_bytes * 100) / node_memory_MemTotal_bytes)",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 1,
|
|
|
+ "legendFormat": "",
|
|
|
+ "refId": "B",
|
|
|
+ "step": 240
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "RAM Used",
|
|
|
+ "type": "gauge"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "cacheTimeout": null,
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "description": "Used Swap",
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "thresholds"
|
|
|
+ },
|
|
|
+ "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": 60
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "rgba(245, 54, 54, 0.9)",
|
|
|
+ "value": 70
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "percent"
|
|
|
+ },
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 4,
|
|
|
+ "w": 3,
|
|
|
+ "x": 12,
|
|
|
+ "y": 0
|
|
|
+ },
|
|
|
+ "id": 56,
|
|
|
+ "links": [],
|
|
|
+ "options": {
|
|
|
+ "orientation": "horizontal",
|
|
|
+ "reduceOptions": {
|
|
|
+ "calcs": [
|
|
|
+ "lastNotNull"
|
|
|
+ ],
|
|
|
+ "fields": "",
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "showThresholdLabels": false,
|
|
|
+ "showThresholdMarkers": true,
|
|
|
+ "text": {}
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.2.5",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "exemplar": true,
|
|
|
+ "expr": "((node_memory_SwapTotal_bytes - node_memory_SwapFree_bytes) / (node_memory_SwapTotal_bytes )) * 100",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 1,
|
|
|
+ "legendFormat": "",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 240
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "SWAP Used",
|
|
|
+ "type": "gauge"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "cacheTimeout": null,
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "description": "Busy state of all CPU cores together (5 min average)",
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "thresholds"
|
|
|
+ },
|
|
|
+ "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": 85
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "rgba(245, 54, 54, 0.9)",
|
|
|
+ "value": 95
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "percent"
|
|
|
+ },
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 4,
|
|
|
+ "w": 3,
|
|
|
+ "x": 15,
|
|
|
+ "y": 0
|
|
|
+ },
|
|
|
+ "id": 58,
|
|
|
+ "links": [],
|
|
|
+ "options": {
|
|
|
+ "orientation": "horizontal",
|
|
|
+ "reduceOptions": {
|
|
|
+ "calcs": [
|
|
|
+ "lastNotNull"
|
|
|
+ ],
|
|
|
+ "fields": "",
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "showThresholdLabels": false,
|
|
|
+ "showThresholdMarkers": true,
|
|
|
+ "text": {}
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.2.5",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "exemplar": true,
|
|
|
+ "expr": "avg(node_load5) / count(count(node_cpu_seconds_total) by (cpu)) * 100",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 1,
|
|
|
+ "legendFormat": "",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 240
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "Sys Load (5m avg)",
|
|
|
+ "type": "gauge"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "cacheTimeout": null,
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "description": "Total used disk space",
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "thresholds"
|
|
|
+ },
|
|
|
+ "decimals": 1,
|
|
|
+ "mappings": [
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "match": "null",
|
|
|
+ "result": {
|
|
|
+ "text": "N/A"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "type": "special"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "max": 1,
|
|
|
+ "min": 0,
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "rgba(50, 172, 45, 0.97)",
|
|
|
+ "value": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "rgba(237, 129, 40, 0.89)",
|
|
|
+ "value": 0.75
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "rgba(245, 54, 54, 0.9)",
|
|
|
+ "value": 0.9
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "percentunit"
|
|
|
+ },
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 4,
|
|
|
+ "w": 3,
|
|
|
+ "x": 18,
|
|
|
+ "y": 0
|
|
|
+ },
|
|
|
+ "id": 26,
|
|
|
+ "interval": null,
|
|
|
+ "links": [],
|
|
|
+ "maxDataPoints": 100,
|
|
|
+ "options": {
|
|
|
+ "orientation": "horizontal",
|
|
|
+ "reduceOptions": {
|
|
|
+ "calcs": [
|
|
|
+ "lastNotNull"
|
|
|
+ ],
|
|
|
+ "fields": "",
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "showThresholdLabels": false,
|
|
|
+ "showThresholdMarkers": true,
|
|
|
+ "text": {}
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.2.5",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "min((node_filesystem_size_bytes{fstype=~\"ext4\"} - node_filesystem_free_bytes{fstype=~\"ext4\"} )/ node_filesystem_size_bytes{fstype=~\"ext4\"})",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "/",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 1800
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "Disk space",
|
|
|
+ "type": "gauge"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "cacheTimeout": null,
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "description": "Hardware temperature",
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "thresholds"
|
|
|
+ },
|
|
|
+ "decimals": 2,
|
|
|
+ "mappings": [
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "match": "null",
|
|
|
+ "result": {
|
|
|
+ "text": "N/A"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "type": "special"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "max": 70,
|
|
|
+ "min": 0,
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "rgba(50, 172, 45, 0.97)",
|
|
|
+ "value": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "rgba(237, 129, 40, 0.89)",
|
|
|
+ "value": 49.9998
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "rgba(245, 54, 54, 0.9)",
|
|
|
+ "value": 60
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "celsius"
|
|
|
+ },
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 4,
|
|
|
+ "w": 3,
|
|
|
+ "x": 21,
|
|
|
+ "y": 0
|
|
|
+ },
|
|
|
+ "id": 44,
|
|
|
+ "interval": null,
|
|
|
+ "links": [],
|
|
|
+ "maxDataPoints": 100,
|
|
|
+ "options": {
|
|
|
+ "orientation": "horizontal",
|
|
|
+ "reduceOptions": {
|
|
|
+ "calcs": [
|
|
|
+ "lastNotNull"
|
|
|
+ ],
|
|
|
+ "fields": "",
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "showThresholdLabels": false,
|
|
|
+ "showThresholdMarkers": true,
|
|
|
+ "text": {}
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.2.5",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "exemplar": true,
|
|
|
+ "expr": "node_thermal_zone_temp{type=\"cpu-thermal\"}",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 1800
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "Temp",
|
|
|
+ "type": "gauge"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "palette-classic"
|
|
|
+ },
|
|
|
+ "custom": {
|
|
|
+ "axisLabel": "",
|
|
|
+ "axisPlacement": "auto",
|
|
|
+ "barAlignment": 0,
|
|
|
+ "drawStyle": "line",
|
|
|
+ "fillOpacity": 10,
|
|
|
+ "gradientMode": "none",
|
|
|
+ "hideFrom": {
|
|
|
+ "legend": false,
|
|
|
+ "tooltip": false,
|
|
|
+ "viz": false
|
|
|
+ },
|
|
|
+ "lineInterpolation": "smooth",
|
|
|
+ "lineWidth": 2,
|
|
|
+ "pointSize": 5,
|
|
|
+ "scaleDistribution": {
|
|
|
+ "type": "linear"
|
|
|
+ },
|
|
|
+ "showPoints": "never",
|
|
|
+ "spanNulls": false,
|
|
|
+ "stacking": {
|
|
|
+ "group": "A",
|
|
|
+ "mode": "normal"
|
|
|
+ },
|
|
|
+ "thresholdsStyle": {
|
|
|
+ "mode": "off"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "mappings": [],
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "red",
|
|
|
+ "value": 80
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "percent"
|
|
|
+ },
|
|
|
+ "overrides": [
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byName",
|
|
|
+ "options": "{id=\"/\",instance=\"cadvisor:8080\",job=\"prometheus\"}"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "#BA43A9",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 6,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 4
|
|
|
+ },
|
|
|
+ "id": 5,
|
|
|
+ "links": [],
|
|
|
+ "options": {
|
|
|
+ "legend": {
|
|
|
+ "calcs": [],
|
|
|
+ "displayMode": "hidden",
|
|
|
+ "placement": "bottom"
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "mode": "single"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.1.5",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "sum(rate(container_cpu_system_seconds_total[1m]))",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": true,
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "a",
|
|
|
+ "refId": "B",
|
|
|
+ "step": 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum(rate(container_cpu_system_seconds_total{name=~\".+\"}[1m]))",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": true,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "nur container",
|
|
|
+ "refId": "F",
|
|
|
+ "step": 10
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum(rate(container_cpu_system_seconds_total{id=\"/\"}[1m]))",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": true,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "nur docker host",
|
|
|
+ "metric": "",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 20
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum(rate(process_cpu_seconds_total[$interval])) * 100",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": true,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "host",
|
|
|
+ "metric": "",
|
|
|
+ "refId": "C",
|
|
|
+ "step": 600
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "sum(rate(container_cpu_system_seconds_total{name=~\".+\"}[1m])) + sum(rate(container_cpu_system_seconds_total{id=\"/\"}[1m])) + sum(rate(process_cpu_seconds_total[1m]))",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": true,
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "",
|
|
|
+ "refId": "D",
|
|
|
+ "step": 120
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "exemplar": true,
|
|
|
+ "expr": "100 - (avg by (instance) (irate(node_cpu_seconds_total{mode=\"idle\"}[5m])) * 100)",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "CPU",
|
|
|
+ "refId": "E"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "CPU Usage",
|
|
|
+ "type": "timeseries"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "cacheTimeout": null,
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "continuous-RdYlGr"
|
|
|
+ },
|
|
|
+ "custom": {
|
|
|
+ "axisLabel": "",
|
|
|
+ "axisPlacement": "auto",
|
|
|
+ "barAlignment": 0,
|
|
|
+ "drawStyle": "line",
|
|
|
+ "fillOpacity": 10,
|
|
|
+ "gradientMode": "hue",
|
|
|
+ "hideFrom": {
|
|
|
+ "legend": false,
|
|
|
+ "tooltip": false,
|
|
|
+ "viz": false
|
|
|
+ },
|
|
|
+ "lineInterpolation": "smooth",
|
|
|
+ "lineWidth": 2,
|
|
|
+ "pointSize": 5,
|
|
|
+ "scaleDistribution": {
|
|
|
+ "type": "linear"
|
|
|
+ },
|
|
|
+ "showPoints": "never",
|
|
|
+ "spanNulls": false,
|
|
|
+ "stacking": {
|
|
|
+ "group": "A",
|
|
|
+ "mode": "none"
|
|
|
+ },
|
|
|
+ "thresholdsStyle": {
|
|
|
+ "mode": "off"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "decimals": 2,
|
|
|
+ "mappings": [
|
|
|
+ {
|
|
|
+ "options": {
|
|
|
+ "match": "null",
|
|
|
+ "result": {
|
|
|
+ "text": "N/A"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "type": "special"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "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": 60
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "celsius"
|
|
|
+ },
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 6,
|
|
|
+ "w": 12,
|
|
|
+ "x": 12,
|
|
|
+ "y": 4
|
|
|
+ },
|
|
|
+ "id": 45,
|
|
|
+ "interval": null,
|
|
|
+ "links": [],
|
|
|
+ "maxDataPoints": 100,
|
|
|
+ "options": {
|
|
|
+ "legend": {
|
|
|
+ "calcs": [
|
|
|
+ "min",
|
|
|
+ "max",
|
|
|
+ "lastNotNull"
|
|
|
+ ],
|
|
|
+ "displayMode": "hidden",
|
|
|
+ "placement": "bottom"
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "mode": "single"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.1.5",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "exemplar": true,
|
|
|
+ "expr": "node_thermal_zone_temp{type=\"cpu-thermal\"}",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "CPU",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 1800
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "Temperature",
|
|
|
+ "type": "timeseries"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "palette-classic"
|
|
|
+ },
|
|
|
+ "custom": {
|
|
|
+ "axisLabel": "",
|
|
|
+ "axisPlacement": "auto",
|
|
|
+ "barAlignment": 0,
|
|
|
+ "drawStyle": "line",
|
|
|
+ "fillOpacity": 10,
|
|
|
+ "gradientMode": "none",
|
|
|
+ "hideFrom": {
|
|
|
+ "legend": false,
|
|
|
+ "tooltip": false,
|
|
|
+ "viz": false
|
|
|
+ },
|
|
|
+ "lineInterpolation": "linear",
|
|
|
+ "lineWidth": 2,
|
|
|
+ "pointSize": 5,
|
|
|
+ "scaleDistribution": {
|
|
|
+ "type": "linear"
|
|
|
+ },
|
|
|
+ "showPoints": "never",
|
|
|
+ "spanNulls": false,
|
|
|
+ "stacking": {
|
|
|
+ "group": "A",
|
|
|
+ "mode": "none"
|
|
|
+ },
|
|
|
+ "thresholdsStyle": {
|
|
|
+ "mode": "off"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "mappings": [],
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "red",
|
|
|
+ "value": 80
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "Bps"
|
|
|
+ },
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 6,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 10
|
|
|
+ },
|
|
|
+ "id": 8,
|
|
|
+ "links": [],
|
|
|
+ "options": {
|
|
|
+ "legend": {
|
|
|
+ "calcs": [],
|
|
|
+ "displayMode": "table",
|
|
|
+ "placement": "right"
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "mode": "single"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.1.5",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "rate(container_network_receive_bytes_total{name!=\"\"}[5m])",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": true,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "{{name}}",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 240
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "max(rate(container_network_transmit_bytes_total{name!=\"\"}[5m])) by (name)",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "{{name}}",
|
|
|
+ "refId": "B",
|
|
|
+ "step": 10
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Received Network Traffic per Container",
|
|
|
+ "type": "timeseries"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "palette-classic"
|
|
|
+ },
|
|
|
+ "custom": {
|
|
|
+ "axisLabel": "",
|
|
|
+ "axisPlacement": "auto",
|
|
|
+ "barAlignment": 0,
|
|
|
+ "drawStyle": "line",
|
|
|
+ "fillOpacity": 10,
|
|
|
+ "gradientMode": "none",
|
|
|
+ "hideFrom": {
|
|
|
+ "legend": false,
|
|
|
+ "tooltip": false,
|
|
|
+ "viz": false
|
|
|
+ },
|
|
|
+ "lineInterpolation": "linear",
|
|
|
+ "lineWidth": 2,
|
|
|
+ "pointSize": 5,
|
|
|
+ "scaleDistribution": {
|
|
|
+ "type": "linear"
|
|
|
+ },
|
|
|
+ "showPoints": "never",
|
|
|
+ "spanNulls": false,
|
|
|
+ "stacking": {
|
|
|
+ "group": "A",
|
|
|
+ "mode": "none"
|
|
|
+ },
|
|
|
+ "thresholdsStyle": {
|
|
|
+ "mode": "off"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "mappings": [],
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "red",
|
|
|
+ "value": 80
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "Bps"
|
|
|
+ },
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 6,
|
|
|
+ "w": 12,
|
|
|
+ "x": 12,
|
|
|
+ "y": 10
|
|
|
+ },
|
|
|
+ "id": 9,
|
|
|
+ "links": [],
|
|
|
+ "options": {
|
|
|
+ "legend": {
|
|
|
+ "calcs": [],
|
|
|
+ "displayMode": "table",
|
|
|
+ "placement": "right"
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "mode": "single"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.1.5",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "max(rate(container_network_transmit_bytes_total{name!=\"\"}[5m])) by (name)",
|
|
|
+ "format": "time_series",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "{{name}}",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 240
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "rate(container_network_transmit_bytes_total{id=\"/\"}[$interval])",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": true,
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "",
|
|
|
+ "refId": "B",
|
|
|
+ "step": 10
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Sent Network Traffic per Container",
|
|
|
+ "type": "timeseries"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "description": "",
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "palette-classic"
|
|
|
+ },
|
|
|
+ "custom": {
|
|
|
+ "axisLabel": "",
|
|
|
+ "axisPlacement": "auto",
|
|
|
+ "barAlignment": 0,
|
|
|
+ "drawStyle": "line",
|
|
|
+ "fillOpacity": 10,
|
|
|
+ "gradientMode": "none",
|
|
|
+ "hideFrom": {
|
|
|
+ "legend": false,
|
|
|
+ "tooltip": false,
|
|
|
+ "viz": false
|
|
|
+ },
|
|
|
+ "lineInterpolation": "smooth",
|
|
|
+ "lineWidth": 2,
|
|
|
+ "pointSize": 5,
|
|
|
+ "scaleDistribution": {
|
|
|
+ "type": "linear"
|
|
|
+ },
|
|
|
+ "showPoints": "never",
|
|
|
+ "spanNulls": false,
|
|
|
+ "stacking": {
|
|
|
+ "group": "A",
|
|
|
+ "mode": "none"
|
|
|
+ },
|
|
|
+ "thresholdsStyle": {
|
|
|
+ "mode": "off"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "links": [],
|
|
|
+ "mappings": [],
|
|
|
+ "min": 0,
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "red",
|
|
|
+ "value": 80
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "Bps"
|
|
|
+ },
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 6,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 16
|
|
|
+ },
|
|
|
+ "id": 49,
|
|
|
+ "options": {
|
|
|
+ "legend": {
|
|
|
+ "calcs": [],
|
|
|
+ "displayMode": "table",
|
|
|
+ "placement": "right"
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "mode": "single"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.2.1",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "exemplar": true,
|
|
|
+ "expr": "sum without (dc,from,id,csv) (irate(container_fs_writes_bytes_total{image!=\"\",device!~\"/dev/dm.*\"}[5m]))",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 1,
|
|
|
+ "legendFormat": "{{name}}",
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "I/O Rx FS per Container",
|
|
|
+ "type": "timeseries"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "description": "",
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "palette-classic"
|
|
|
+ },
|
|
|
+ "custom": {
|
|
|
+ "axisLabel": "",
|
|
|
+ "axisPlacement": "auto",
|
|
|
+ "barAlignment": 0,
|
|
|
+ "drawStyle": "line",
|
|
|
+ "fillOpacity": 10,
|
|
|
+ "gradientMode": "none",
|
|
|
+ "hideFrom": {
|
|
|
+ "legend": false,
|
|
|
+ "tooltip": false,
|
|
|
+ "viz": false
|
|
|
+ },
|
|
|
+ "lineInterpolation": "smooth",
|
|
|
+ "lineWidth": 2,
|
|
|
+ "pointSize": 5,
|
|
|
+ "scaleDistribution": {
|
|
|
+ "type": "linear"
|
|
|
+ },
|
|
|
+ "showPoints": "never",
|
|
|
+ "spanNulls": false,
|
|
|
+ "stacking": {
|
|
|
+ "group": "A",
|
|
|
+ "mode": "none"
|
|
|
+ },
|
|
|
+ "thresholdsStyle": {
|
|
|
+ "mode": "off"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "links": [],
|
|
|
+ "mappings": [],
|
|
|
+ "min": 0,
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "red",
|
|
|
+ "value": 80
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "Bps"
|
|
|
+ },
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 6,
|
|
|
+ "w": 12,
|
|
|
+ "x": 12,
|
|
|
+ "y": 16
|
|
|
+ },
|
|
|
+ "id": 50,
|
|
|
+ "options": {
|
|
|
+ "legend": {
|
|
|
+ "calcs": [],
|
|
|
+ "displayMode": "table",
|
|
|
+ "placement": "right"
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "mode": "single"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.2.1",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "exemplar": true,
|
|
|
+ "expr": "sum without (dc,from,id,csv) (irate(container_fs_reads_bytes_total{image!=\"\",device!~\"/dev/dm.*\"}[5m]))",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 1,
|
|
|
+ "legendFormat": "{{name}}",
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "I/O Tx FS per Container",
|
|
|
+ "type": "timeseries"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "description": "Disk space used",
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "palette-classic"
|
|
|
+ },
|
|
|
+ "custom": {
|
|
|
+ "axisLabel": "",
|
|
|
+ "axisPlacement": "auto",
|
|
|
+ "barAlignment": 0,
|
|
|
+ "drawStyle": "line",
|
|
|
+ "fillOpacity": 10,
|
|
|
+ "gradientMode": "none",
|
|
|
+ "hideFrom": {
|
|
|
+ "legend": false,
|
|
|
+ "tooltip": false,
|
|
|
+ "viz": false
|
|
|
+ },
|
|
|
+ "lineInterpolation": "smooth",
|
|
|
+ "lineWidth": 2,
|
|
|
+ "pointSize": 5,
|
|
|
+ "scaleDistribution": {
|
|
|
+ "type": "linear"
|
|
|
+ },
|
|
|
+ "showPoints": "never",
|
|
|
+ "spanNulls": false,
|
|
|
+ "stacking": {
|
|
|
+ "group": "A",
|
|
|
+ "mode": "normal"
|
|
|
+ },
|
|
|
+ "thresholdsStyle": {
|
|
|
+ "mode": "off"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "mappings": [],
|
|
|
+ "max": 100,
|
|
|
+ "min": 0,
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "transparent",
|
|
|
+ "value": null
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "percent"
|
|
|
+ },
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 7,
|
|
|
+ "w": 6,
|
|
|
+ "x": 0,
|
|
|
+ "y": 22
|
|
|
+ },
|
|
|
+ "id": 13,
|
|
|
+ "links": [],
|
|
|
+ "options": {
|
|
|
+ "legend": {
|
|
|
+ "calcs": [],
|
|
|
+ "displayMode": "hidden",
|
|
|
+ "placement": "bottom"
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "mode": "single"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.1.5",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "exemplar": true,
|
|
|
+ "expr": "node_filesystem_size_bytes{fstype=\"ext4\",mountpoint=\"/etc/resolv.conf\"} - node_filesystem_free_bytes{fstype=\"ext4\",mountpoint=\"/etc/resolv.conf\"}",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": true,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "HDD",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 600
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "exemplar": true,
|
|
|
+ "expr": "100 - ((node_filesystem_avail_bytes{fstype=\"ext4\",mountpoint=\"/etc/resolv.conf\"} * 100) / node_filesystem_size_bytes{fstype=\"ext4\",mountpoint=\"/etc/resolv.conf\"})",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "legendFormat": "HDD",
|
|
|
+ "refId": "B"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Used Disk Space",
|
|
|
+ "type": "timeseries"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "palette-classic"
|
|
|
+ },
|
|
|
+ "custom": {
|
|
|
+ "axisLabel": "",
|
|
|
+ "axisPlacement": "auto",
|
|
|
+ "barAlignment": 0,
|
|
|
+ "drawStyle": "line",
|
|
|
+ "fillOpacity": 10,
|
|
|
+ "gradientMode": "none",
|
|
|
+ "hideFrom": {
|
|
|
+ "legend": false,
|
|
|
+ "tooltip": false,
|
|
|
+ "viz": false
|
|
|
+ },
|
|
|
+ "lineInterpolation": "linear",
|
|
|
+ "lineWidth": 2,
|
|
|
+ "pointSize": 5,
|
|
|
+ "scaleDistribution": {
|
|
|
+ "type": "linear"
|
|
|
+ },
|
|
|
+ "showPoints": "never",
|
|
|
+ "spanNulls": false,
|
|
|
+ "stacking": {
|
|
|
+ "group": "A",
|
|
|
+ "mode": "normal"
|
|
|
+ },
|
|
|
+ "thresholdsStyle": {
|
|
|
+ "mode": "off"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "mappings": [],
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "transparent",
|
|
|
+ "value": null
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "bytes"
|
|
|
+ },
|
|
|
+ "overrides": [
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byName",
|
|
|
+ "options": "Available Memory"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "#7EB26D",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byName",
|
|
|
+ "options": "Unavailable Memory"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "#7EB26D",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 7,
|
|
|
+ "w": 6,
|
|
|
+ "x": 6,
|
|
|
+ "y": 22
|
|
|
+ },
|
|
|
+ "id": 20,
|
|
|
+ "links": [],
|
|
|
+ "options": {
|
|
|
+ "legend": {
|
|
|
+ "calcs": [],
|
|
|
+ "displayMode": "hidden",
|
|
|
+ "placement": "bottom"
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "mode": "single"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.1.5",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "exemplar": true,
|
|
|
+ "expr": "node_memory_MemTotal_bytes - node_memory_MemAvailable_bytes",
|
|
|
+ "interval": "",
|
|
|
+ "legendFormat": "RAM",
|
|
|
+ "refId": "A"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Used Memory",
|
|
|
+ "type": "timeseries"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "description": "The number (after merges) of I/O requests completed per second for the device",
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "palette-classic"
|
|
|
+ },
|
|
|
+ "custom": {
|
|
|
+ "axisLabel": "",
|
|
|
+ "axisPlacement": "auto",
|
|
|
+ "barAlignment": 0,
|
|
|
+ "drawStyle": "line",
|
|
|
+ "fillOpacity": 10,
|
|
|
+ "gradientMode": "none",
|
|
|
+ "hideFrom": {
|
|
|
+ "legend": false,
|
|
|
+ "tooltip": false,
|
|
|
+ "viz": false
|
|
|
+ },
|
|
|
+ "lineInterpolation": "smooth",
|
|
|
+ "lineWidth": 2,
|
|
|
+ "pointSize": 5,
|
|
|
+ "scaleDistribution": {
|
|
|
+ "type": "linear"
|
|
|
+ },
|
|
|
+ "showPoints": "never",
|
|
|
+ "spanNulls": true,
|
|
|
+ "stacking": {
|
|
|
+ "group": "A",
|
|
|
+ "mode": "none"
|
|
|
+ },
|
|
|
+ "thresholdsStyle": {
|
|
|
+ "mode": "off"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "links": [],
|
|
|
+ "mappings": [],
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "red",
|
|
|
+ "value": 80
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "iops"
|
|
|
+ },
|
|
|
+ "overrides": [
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byRegexp",
|
|
|
+ "options": "/.*sda_.*/"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "green",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byRegexp",
|
|
|
+ "options": "/.*sdb_.*/"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "dark-yellow",
|
|
|
+ "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": "byRegexp",
|
|
|
+ "options": "/.*sda1.*/"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "#584477",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byRegexp",
|
|
|
+ "options": "/.*sda2_.*/"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "#BA43A9",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byRegexp",
|
|
|
+ "options": "/.*sda3_.*/"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "#F4D598",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byRegexp",
|
|
|
+ "options": "/.*sdb1.*/"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "#0A50A1",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byRegexp",
|
|
|
+ "options": "/.*sdb2.*/"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "#BF1B00",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byRegexp",
|
|
|
+ "options": "/.*sdb3.*/"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "#E0752D",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byRegexp",
|
|
|
+ "options": "/.*sdc1.*/"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "#962D82",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byRegexp",
|
|
|
+ "options": "/.*sdc2.*/"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "#614D93",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byRegexp",
|
|
|
+ "options": "/.*sdc3.*/"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "#9AC48A",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byRegexp",
|
|
|
+ "options": "/.*sdd1.*/"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "#65C5DB",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byRegexp",
|
|
|
+ "options": "/.*sdd2.*/"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "#F9934E",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byRegexp",
|
|
|
+ "options": "/.*sdd3.*/"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "#EA6460",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byRegexp",
|
|
|
+ "options": "/.*sde1.*/"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "#E0F9D7",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byRegexp",
|
|
|
+ "options": "/.*sdd2.*/"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "#FCEACA",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byRegexp",
|
|
|
+ "options": "/.*sde3.*/"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "#F9E2D2",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byRegexp",
|
|
|
+ "options": "/.*Writes.*/"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "dark-red",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 7,
|
|
|
+ "w": 6,
|
|
|
+ "x": 12,
|
|
|
+ "y": 22
|
|
|
+ },
|
|
|
+ "id": 60,
|
|
|
+ "links": [],
|
|
|
+ "options": {
|
|
|
+ "legend": {
|
|
|
+ "calcs": [
|
|
|
+ "mean",
|
|
|
+ "lastNotNull",
|
|
|
+ "max",
|
|
|
+ "min"
|
|
|
+ ],
|
|
|
+ "displayMode": "hidden",
|
|
|
+ "placement": "bottom"
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "mode": "single"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.2.2",
|
|
|
+ "repeat": null,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "exemplar": true,
|
|
|
+ "expr": "rate(node_disk_reads_completed_total[$__rate_interval])",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 4,
|
|
|
+ "legendFormat": "{{device}} - Reads completed",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 240
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "exemplar": true,
|
|
|
+ "expr": "- rate(node_disk_writes_completed_total[$__rate_interval])",
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "{{device}} - Writes completed",
|
|
|
+ "refId": "B",
|
|
|
+ "step": 240
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Disk IO",
|
|
|
+ "type": "timeseries"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "palette-classic"
|
|
|
+ },
|
|
|
+ "custom": {
|
|
|
+ "axisLabel": "",
|
|
|
+ "axisPlacement": "auto",
|
|
|
+ "barAlignment": 0,
|
|
|
+ "drawStyle": "line",
|
|
|
+ "fillOpacity": 10,
|
|
|
+ "gradientMode": "none",
|
|
|
+ "hideFrom": {
|
|
|
+ "legend": false,
|
|
|
+ "tooltip": false,
|
|
|
+ "viz": false
|
|
|
+ },
|
|
|
+ "lineInterpolation": "smooth",
|
|
|
+ "lineWidth": 2,
|
|
|
+ "pointSize": 5,
|
|
|
+ "scaleDistribution": {
|
|
|
+ "type": "linear"
|
|
|
+ },
|
|
|
+ "showPoints": "never",
|
|
|
+ "spanNulls": false,
|
|
|
+ "stacking": {
|
|
|
+ "group": "A",
|
|
|
+ "mode": "none"
|
|
|
+ },
|
|
|
+ "thresholdsStyle": {
|
|
|
+ "mode": "off"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "mappings": [],
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "bps"
|
|
|
+ },
|
|
|
+ "overrides": [
|
|
|
+ {
|
|
|
+ "matcher": {
|
|
|
+ "id": "byRegexp",
|
|
|
+ "options": "trans.*"
|
|
|
+ },
|
|
|
+ "properties": [
|
|
|
+ {
|
|
|
+ "id": "color",
|
|
|
+ "value": {
|
|
|
+ "fixedColor": "dark-red",
|
|
|
+ "mode": "fixed"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 7,
|
|
|
+ "w": 6,
|
|
|
+ "x": 18,
|
|
|
+ "y": 22
|
|
|
+ },
|
|
|
+ "id": 19,
|
|
|
+ "links": [],
|
|
|
+ "options": {
|
|
|
+ "legend": {
|
|
|
+ "calcs": [],
|
|
|
+ "displayMode": "hidden",
|
|
|
+ "placement": "bottom"
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "mode": "single"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.1.5",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "exemplar": true,
|
|
|
+ "expr": "rate(node_network_receive_bytes_total{device=\"eth0\"}[5m])*8",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "recv {{device}}",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 600
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "exemplar": true,
|
|
|
+ "expr": "- rate(node_network_transmit_bytes_total{device=\"eth0\"}[5m])*8",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "trans {{device}} ",
|
|
|
+ "refId": "B",
|
|
|
+ "step": 600
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Network Traffic",
|
|
|
+ "type": "timeseries"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "palette-classic"
|
|
|
+ },
|
|
|
+ "custom": {
|
|
|
+ "axisLabel": "",
|
|
|
+ "axisPlacement": "auto",
|
|
|
+ "barAlignment": 0,
|
|
|
+ "drawStyle": "line",
|
|
|
+ "fillOpacity": 0,
|
|
|
+ "gradientMode": "none",
|
|
|
+ "hideFrom": {
|
|
|
+ "legend": false,
|
|
|
+ "tooltip": false,
|
|
|
+ "viz": false
|
|
|
+ },
|
|
|
+ "lineInterpolation": "linear",
|
|
|
+ "lineWidth": 2,
|
|
|
+ "pointSize": 5,
|
|
|
+ "scaleDistribution": {
|
|
|
+ "type": "linear"
|
|
|
+ },
|
|
|
+ "showPoints": "never",
|
|
|
+ "spanNulls": false,
|
|
|
+ "stacking": {
|
|
|
+ "group": "A",
|
|
|
+ "mode": "none"
|
|
|
+ },
|
|
|
+ "thresholdsStyle": {
|
|
|
+ "mode": "off"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "mappings": [],
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "red",
|
|
|
+ "value": 80
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "percent"
|
|
|
+ },
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 7,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 29
|
|
|
+ },
|
|
|
+ "id": 1,
|
|
|
+ "links": [],
|
|
|
+ "options": {
|
|
|
+ "legend": {
|
|
|
+ "calcs": [],
|
|
|
+ "displayMode": "table",
|
|
|
+ "placement": "right"
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "mode": "single"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.1.5",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "sum(rate(container_cpu_usage_seconds_total{name=~\".+\"}[5m])) by (name) * 100",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "{{name}}",
|
|
|
+ "metric": "",
|
|
|
+ "refId": "F",
|
|
|
+ "step": 240
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "CPU Usage per Container",
|
|
|
+ "type": "timeseries"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "palette-classic"
|
|
|
+ },
|
|
|
+ "custom": {
|
|
|
+ "axisLabel": "",
|
|
|
+ "axisPlacement": "auto",
|
|
|
+ "barAlignment": 0,
|
|
|
+ "drawStyle": "line",
|
|
|
+ "fillOpacity": 30,
|
|
|
+ "gradientMode": "none",
|
|
|
+ "hideFrom": {
|
|
|
+ "legend": false,
|
|
|
+ "tooltip": false,
|
|
|
+ "viz": false
|
|
|
+ },
|
|
|
+ "lineInterpolation": "linear",
|
|
|
+ "lineWidth": 2,
|
|
|
+ "pointSize": 5,
|
|
|
+ "scaleDistribution": {
|
|
|
+ "type": "linear"
|
|
|
+ },
|
|
|
+ "showPoints": "never",
|
|
|
+ "spanNulls": false,
|
|
|
+ "stacking": {
|
|
|
+ "group": "A",
|
|
|
+ "mode": "normal"
|
|
|
+ },
|
|
|
+ "thresholdsStyle": {
|
|
|
+ "mode": "off"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "mappings": [],
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "red",
|
|
|
+ "value": 80
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "bytes"
|
|
|
+ },
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 7,
|
|
|
+ "w": 12,
|
|
|
+ "x": 12,
|
|
|
+ "y": 29
|
|
|
+ },
|
|
|
+ "id": 10,
|
|
|
+ "links": [],
|
|
|
+ "options": {
|
|
|
+ "legend": {
|
|
|
+ "calcs": [],
|
|
|
+ "displayMode": "table",
|
|
|
+ "placement": "right"
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "mode": "single"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.1.5",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "sum(container_memory_rss{name!=\"\"}) by (name)",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "{{name}}",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 240
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "container_memory_usage_bytes{name=~\".+\"}",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": true,
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "{{name}}",
|
|
|
+ "refId": "B",
|
|
|
+ "step": 240
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "RSS Memory Usage per Container",
|
|
|
+ "type": "timeseries"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "fieldConfig": {
|
|
|
+ "defaults": {
|
|
|
+ "color": {
|
|
|
+ "mode": "palette-classic"
|
|
|
+ },
|
|
|
+ "custom": {
|
|
|
+ "axisLabel": "",
|
|
|
+ "axisPlacement": "auto",
|
|
|
+ "barAlignment": 0,
|
|
|
+ "drawStyle": "line",
|
|
|
+ "fillOpacity": 10,
|
|
|
+ "gradientMode": "none",
|
|
|
+ "hideFrom": {
|
|
|
+ "legend": false,
|
|
|
+ "tooltip": false,
|
|
|
+ "viz": false
|
|
|
+ },
|
|
|
+ "lineInterpolation": "linear",
|
|
|
+ "lineWidth": 2,
|
|
|
+ "pointSize": 5,
|
|
|
+ "scaleDistribution": {
|
|
|
+ "type": "linear"
|
|
|
+ },
|
|
|
+ "showPoints": "never",
|
|
|
+ "spanNulls": true,
|
|
|
+ "stacking": {
|
|
|
+ "group": "A",
|
|
|
+ "mode": "none"
|
|
|
+ },
|
|
|
+ "thresholdsStyle": {
|
|
|
+ "mode": "off"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "decimals": 1,
|
|
|
+ "mappings": [],
|
|
|
+ "thresholds": {
|
|
|
+ "mode": "absolute",
|
|
|
+ "steps": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "red",
|
|
|
+ "value": 80
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "unit": "bytes"
|
|
|
+ },
|
|
|
+ "overrides": []
|
|
|
+ },
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 36
|
|
|
+ },
|
|
|
+ "id": 38,
|
|
|
+ "links": [],
|
|
|
+ "options": {
|
|
|
+ "legend": {
|
|
|
+ "calcs": [],
|
|
|
+ "displayMode": "table",
|
|
|
+ "placement": "right"
|
|
|
+ },
|
|
|
+ "tooltip": {
|
|
|
+ "mode": "single"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "pluginVersion": "8.1.5",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "container_memory_usage_bytes{name!=\"\"}",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": false,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "{{name}}",
|
|
|
+ "refId": "A",
|
|
|
+ "target": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "container_spec_memory_limit_bytes{name!=\"\"}",
|
|
|
+ "format": "time_series",
|
|
|
+ "hide": true,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "Limit {{name}}",
|
|
|
+ "refId": "B"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Used Memory per Container",
|
|
|
+ "type": "timeseries"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "columns": [],
|
|
|
+ "datasource": "Prometheus",
|
|
|
+ "fontSize": "100%",
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 12,
|
|
|
+ "y": 36
|
|
|
+ },
|
|
|
+ "id": 42,
|
|
|
+ "links": [],
|
|
|
+ "pageSize": null,
|
|
|
+ "scroll": true,
|
|
|
+ "showHeader": true,
|
|
|
+ "sort": {
|
|
|
+ "col": 2,
|
|
|
+ "desc": true
|
|
|
+ },
|
|
|
+ "styles": [
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "align": "auto",
|
|
|
+ "colorMode": null,
|
|
|
+ "colors": [
|
|
|
+ "rgba(245, 54, 54, 0.9)",
|
|
|
+ "rgba(237, 129, 40, 0.89)",
|
|
|
+ "rgba(50, 172, 45, 0.97)"
|
|
|
+ ],
|
|
|
+ "dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
|
+ "decimals": 2,
|
|
|
+ "mappingType": 1,
|
|
|
+ "pattern": "__name__",
|
|
|
+ "thresholds": [],
|
|
|
+ "type": "hidden",
|
|
|
+ "unit": "short"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "Used memory",
|
|
|
+ "align": "auto",
|
|
|
+ "colorMode": null,
|
|
|
+ "colors": [
|
|
|
+ "rgba(245, 54, 54, 0.9)",
|
|
|
+ "rgba(237, 129, 40, 0.89)",
|
|
|
+ "rgba(50, 172, 45, 0.97)"
|
|
|
+ ],
|
|
|
+ "dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
|
+ "decimals": 2,
|
|
|
+ "mappingType": 1,
|
|
|
+ "pattern": "Value #A",
|
|
|
+ "thresholds": [],
|
|
|
+ "type": "number",
|
|
|
+ "unit": "bytes"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "Available memory",
|
|
|
+ "align": "auto",
|
|
|
+ "colorMode": null,
|
|
|
+ "colors": [
|
|
|
+ "rgba(245, 54, 54, 0.9)",
|
|
|
+ "rgba(237, 129, 40, 0.89)",
|
|
|
+ "rgba(50, 172, 45, 0.97)"
|
|
|
+ ],
|
|
|
+ "dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
|
+ "decimals": 2,
|
|
|
+ "mappingType": 1,
|
|
|
+ "pattern": "Value #B",
|
|
|
+ "thresholds": [],
|
|
|
+ "type": "number",
|
|
|
+ "unit": "bytes"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "Limit memory",
|
|
|
+ "align": "auto",
|
|
|
+ "colorMode": null,
|
|
|
+ "colors": [
|
|
|
+ "rgba(245, 54, 54, 0.9)",
|
|
|
+ "rgba(237, 129, 40, 0.89)",
|
|
|
+ "rgba(50, 172, 45, 0.97)"
|
|
|
+ ],
|
|
|
+ "dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
|
+ "decimals": 2,
|
|
|
+ "mappingType": 1,
|
|
|
+ "pattern": "Value #C",
|
|
|
+ "thresholds": [],
|
|
|
+ "type": "number",
|
|
|
+ "unit": "bytes"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "alias": "",
|
|
|
+ "align": "auto",
|
|
|
+ "colorMode": null,
|
|
|
+ "colors": [
|
|
|
+ "rgba(245, 54, 54, 0.9)",
|
|
|
+ "rgba(237, 129, 40, 0.89)",
|
|
|
+ "rgba(50, 172, 45, 0.97)"
|
|
|
+ ],
|
|
|
+ "dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
|
+ "decimals": 2,
|
|
|
+ "mappingType": 1,
|
|
|
+ "pattern": "Time",
|
|
|
+ "thresholds": [],
|
|
|
+ "type": "hidden",
|
|
|
+ "unit": "short"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "max(container_memory_usage_bytes{name!=\"\"}) by (name)",
|
|
|
+ "format": "table",
|
|
|
+ "hide": false,
|
|
|
+ "instant": true,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 1,
|
|
|
+ "legendFormat": "",
|
|
|
+ "refId": "A"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "max(container_memory_max_usage_bytes{name!=\"\"}-container_memory_usage_bytes{name!=\"\"})by (name)",
|
|
|
+ "format": "table",
|
|
|
+ "instant": true,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 1,
|
|
|
+ "legendFormat": "",
|
|
|
+ "refId": "B"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "expr": "max(container_memory_max_usage_bytes{name!=\"\"}) by (name)",
|
|
|
+ "format": "table",
|
|
|
+ "instant": true,
|
|
|
+ "interval": "",
|
|
|
+ "intervalFactor": 1,
|
|
|
+ "legendFormat": "",
|
|
|
+ "refId": "C"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Memory usage per container",
|
|
|
+ "transform": "table",
|
|
|
+ "type": "table-old"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "refresh": "30s",
|
|
|
+ "schemaVersion": 32,
|
|
|
+ "style": "dark",
|
|
|
+ "tags": [
|
|
|
+ "prometheus",
|
|
|
+ "cAdvisor",
|
|
|
+ "node-exporter"
|
|
|
+ ],
|
|
|
+ "templating": {
|
|
|
+ "list": [
|
|
|
+ {
|
|
|
+ "auto": false,
|
|
|
+ "auto_count": 30,
|
|
|
+ "auto_min": "10s",
|
|
|
+ "current": {
|
|
|
+ "selected": false,
|
|
|
+ "text": "60s",
|
|
|
+ "value": "60s"
|
|
|
+ },
|
|
|
+ "description": null,
|
|
|
+ "error": null,
|
|
|
+ "hide": 2,
|
|
|
+ "label": "Interval",
|
|
|
+ "name": "interval",
|
|
|
+ "options": [
|
|
|
+ {
|
|
|
+ "selected": true,
|
|
|
+ "text": "60s",
|
|
|
+ "value": "60s"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "query": "60s",
|
|
|
+ "refresh": 2,
|
|
|
+ "skipUrlSync": false,
|
|
|
+ "type": "interval"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "time": {
|
|
|
+ "from": "now-6h",
|
|
|
+ "to": "now"
|
|
|
+ },
|
|
|
+ "timepicker": {
|
|
|
+ "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": "Docker Metrics for Raspberry Pi",
|
|
|
+ "uid": "Ss3q6hSZk",
|
|
|
+ "version": 1
|
|
|
+}
|