diff --git a/README.md b/README.md
index 9d7027c..ee3e5b3 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ An interactive NVIDIA-GPU process viewer and beyond, the one-stop solution for G
-
+
A Grafana dashboard built on top of nvitop-exporter.
diff --git a/nvitop-exporter/README.md b/nvitop-exporter/README.md
index 92a00e7..242d67d 100644
--- a/nvitop-exporter/README.md
+++ b/nvitop-exporter/README.md
@@ -12,7 +12,7 @@ pipx run nvitop-exporter --bind-address 0.0.0.0 --port 5050
uvx nvitop-exporter --bind-address 0.0.0.0 --port 5050
```
-Then you can access the metrics at `http://localhost:5050/metrics`.
+Then you can access the metrics at [`http://localhost:5050/metrics`](http://localhost:5050/metrics).
You will need to configure Prometheus to scrape the metrics from the exporter.
@@ -30,7 +30,7 @@ The source of the dashboard is [`dashboard.json`](./dashboard.json).
The Grafana dashboard can also be imported as by ID [22589](https://grafana.com/grafana/dashboards/22589-nvitop-dashboard).
-
+
The Grafana dashboard for the exporter.
diff --git a/nvitop-exporter/dashboard.json b/nvitop-exporter/dashboard.json
index c78cf58..4fda98a 100644
--- a/nvitop-exporter/dashboard.json
+++ b/nvitop-exporter/dashboard.json
@@ -76,9 +76,624 @@
},
"id": 1,
"panels": [],
+ "title": "Overview",
+ "type": "row"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "max": 100,
+ "min": 0,
+ "thresholds": {
+ "mode": "percentage",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "yellow",
+ "value": 70
+ },
+ {
+ "color": "red",
+ "value": 90
+ }
+ ]
+ },
+ "unit": "percent"
+ }
+ },
+ "gridPos": {
+ "h": 9,
+ "w": 4,
+ "x": 0,
+ "y": 1
+ },
+ "id": 2,
+ "options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "last"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showThresholdLabels": false,
+ "showThresholdMarkers": true,
+ "sizing": "auto"
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "builder",
+ "exemplar": false,
+ "expr": "host_cpu_percent_Percentage{hostname=~\"$hostname\"}",
+ "fullMetaSearch": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "{{hostname}} CPU",
+ "range": true,
+ "refId": "A",
+ "useBackend": false
+ }
+ ],
+ "title": "CPU Utilization",
+ "type": "gauge"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "max": 100,
+ "min": 0,
+ "thresholds": {
+ "mode": "percentage",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "yellow",
+ "value": 70
+ },
+ {
+ "color": "red",
+ "value": 90
+ }
+ ]
+ },
+ "unit": "percent"
+ }
+ },
+ "gridPos": {
+ "h": 18,
+ "w": 10,
+ "x": 4,
+ "y": 1
+ },
+ "id": 3,
+ "options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "last"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showThresholdLabels": false,
+ "showThresholdMarkers": true,
+ "sizing": "auto"
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "builder",
+ "exemplar": false,
+ "expr": "gpu_utilization_Percentage{hostname=~\"$hostname\"}",
+ "fullMetaSearch": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "{{hostname}} GPU {{index}}",
+ "range": true,
+ "refId": "A",
+ "useBackend": false
+ }
+ ],
+ "title": "GPU Utilization",
+ "type": "gauge"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "max": 100,
+ "min": 0,
+ "thresholds": {
+ "mode": "percentage",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "yellow",
+ "value": 70
+ },
+ {
+ "color": "red",
+ "value": 90
+ }
+ ]
+ },
+ "unit": "percent"
+ }
+ },
+ "gridPos": {
+ "h": 18,
+ "w": 10,
+ "x": 14,
+ "y": 1
+ },
+ "id": 4,
+ "options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "last"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showThresholdLabels": false,
+ "showThresholdMarkers": true,
+ "sizing": "auto"
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "builder",
+ "exemplar": false,
+ "expr": "gpu_memory_percent_Percentage{hostname=~\"$hostname\"}",
+ "fullMetaSearch": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "{{hostname}} GPU {{index}}",
+ "range": true,
+ "refId": "A",
+ "useBackend": false
+ }
+ ],
+ "title": "GPU Memory",
+ "type": "gauge"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "description": "",
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "max": 100,
+ "min": 0,
+ "thresholds": {
+ "mode": "percentage",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "yellow",
+ "value": 70
+ },
+ {
+ "color": "red",
+ "value": 90
+ }
+ ]
+ },
+ "unit": "percent"
+ }
+ },
+ "gridPos": {
+ "h": 9,
+ "w": 4,
+ "x": 0,
+ "y": 10
+ },
+ "id": 5,
+ "options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
+ "orientation": "auto",
+ "reduceOptions": {
+ "calcs": [
+ "last"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showThresholdLabels": false,
+ "showThresholdMarkers": true,
+ "sizing": "auto"
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "builder",
+ "exemplar": false,
+ "expr": "host_virtual_memory_percent_Percentage{hostname=~\"$hostname\"}",
+ "fullMetaSearch": false,
+ "includeNullMetadata": true,
+ "instant": false,
+ "legendFormat": "{{hostname}} MEM",
+ "range": true,
+ "refId": "A",
+ "useBackend": false
+ }
+ ],
+ "title": "Host Virtual Memory",
+ "type": "gauge"
+ },
+ {
+ "collapsed": false,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 19
+ },
+ "id": 6,
+ "panels": [],
"title": "Process",
"type": "row"
},
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "decimals": 0,
+ "displayName": "occupied",
+ "min": 0,
+ "noValue": "0",
+ "thresholds": {
+ "mode": "percentage",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "yellow",
+ "value": 70
+ },
+ {
+ "color": "orange",
+ "value": 80
+ },
+ {
+ "color": "red",
+ "value": 90
+ },
+ {
+ "color": "dark-red",
+ "value": 95
+ }
+ ]
+ },
+ "unit": "none"
+ },
+ "overrides": [
+ {
+ "matcher": {
+ "id": "byName",
+ "options": "Value #number of gpus"
+ },
+ "properties": [
+ {
+ "id": "displayName",
+ "value": "total"
+ },
+ {
+ "id": "color",
+ "value": {
+ "fixedColor": "gray",
+ "mode": "fixed"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "gridPos": {
+ "h": 4,
+ "w": 5,
+ "x": 0,
+ "y": 20
+ },
+ "id": 7,
+ "options": {
+ "colorMode": "background",
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "percentChangeColorMode": "standard",
+ "reduceOptions": {
+ "calcs": [
+ "last"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showPercentChange": false,
+ "textMode": "value_and_name",
+ "wideLayout": true
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "builder",
+ "exemplar": false,
+ "expr": "count(group by(uuid) (process_gpu_memory_MiB{hostname=~\"$hostname\", username=~\"$username\"}))",
+ "format": "table",
+ "fullMetaSearch": false,
+ "hide": false,
+ "includeNullMetadata": true,
+ "instant": true,
+ "legendFormat": "__auto",
+ "range": false,
+ "refId": "number of occupied gpus",
+ "useBackend": false
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "builder",
+ "exemplar": false,
+ "expr": "count(gpu_memory_total_MiB{hostname=~\"$hostname\"})",
+ "format": "table",
+ "fullMetaSearch": false,
+ "hide": false,
+ "includeNullMetadata": true,
+ "instant": true,
+ "legendFormat": "__auto",
+ "range": false,
+ "refId": "number of gpus",
+ "useBackend": false
+ }
+ ],
+ "title": "Number of GPUs",
+ "type": "stat"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "decimals": 0,
+ "fieldMinMax": false,
+ "min": 0,
+ "noValue": "No Running Processes",
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "yellow",
+ "value": 4
+ },
+ {
+ "color": "orange",
+ "value": 6
+ },
+ {
+ "color": "red",
+ "value": 8
+ }
+ ]
+ },
+ "unit": "none"
+ }
+ },
+ "gridPos": {
+ "h": 8,
+ "w": 19,
+ "x": 5,
+ "y": 20
+ },
+ "id": 8,
+ "options": {
+ "colorMode": "background",
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "percentChangeColorMode": "standard",
+ "reduceOptions": {
+ "calcs": [
+ "last"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showPercentChange": false,
+ "textMode": "value_and_name",
+ "wideLayout": true
+ },
+ "targets": [
+ {
+ "disableTextWrap": false,
+ "editorMode": "builder",
+ "exemplar": false,
+ "expr": "count by(hostname, index) (process_gpu_memory_MiB{hostname=~\"$hostname\", username=~\"$username\"})",
+ "fullMetaSearch": false,
+ "includeNullMetadata": true,
+ "instant": true,
+ "legendFormat": "{{hostname}} GPU {{index}}",
+ "range": false,
+ "refId": "number of gpu processes",
+ "useBackend": false
+ }
+ ],
+ "title": "Number of Running GPU Processes",
+ "type": "stat"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "thresholds"
+ },
+ "decimals": 0,
+ "min": 0,
+ "noValue": "No Running Processes",
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "yellow",
+ "value": 8
+ },
+ {
+ "color": "orange",
+ "value": 16
+ },
+ {
+ "color": "red",
+ "value": 32
+ }
+ ]
+ },
+ "unit": "none"
+ }
+ },
+ "gridPos": {
+ "h": 4,
+ "w": 5,
+ "x": 0,
+ "y": 24
+ },
+ "id": 9,
+ "options": {
+ "colorMode": "background",
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "percentChangeColorMode": "standard",
+ "reduceOptions": {
+ "calcs": [
+ "last"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showPercentChange": false,
+ "textMode": "value_and_name",
+ "wideLayout": true
+ },
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "builder",
+ "exemplar": false,
+ "expr": "count by(hostname) (count by(hostname, pid) (process_info_info{hostname=~\"$hostname\", username=~\"$username\"}))",
+ "fullMetaSearch": false,
+ "hide": false,
+ "includeNullMetadata": true,
+ "instant": true,
+ "legendFormat": "__auto",
+ "range": false,
+ "refId": "number of gpu processes",
+ "useBackend": false
+ }
+ ],
+ "title": "Number of Running GPU Processes",
+ "type": "stat"
+ },
{
"datasource": {
"type": "prometheus",
@@ -97,18 +712,22 @@
"minWidth": 50
},
"fieldMinMax": true,
- "mappings": [],
"min": 0,
+ "noValue": "No Running Processes",
"thresholds": {
- "mode": "absolute",
+ "mode": "percentage",
"steps": [
{
"color": "green",
"value": null
},
+ {
+ "color": "yellow",
+ "value": 70
+ },
{
"color": "red",
- "value": 80
+ "value": 90
}
]
}
@@ -131,6 +750,10 @@
{
"id": "max",
"value": 100
+ },
+ {
+ "id": "unit",
+ "value": "percent"
}
]
},
@@ -152,10 +775,6 @@
"valueDisplayMode": "color"
}
},
- {
- "id": "max",
- "value": 81920
- },
{
"id": "custom.minWidth",
"value": 150
@@ -180,10 +799,6 @@
"valueDisplayMode": "color"
}
},
- {
- "id": "max",
- "value": 81920
- },
{
"id": "custom.minWidth",
"value": 150
@@ -220,9 +835,9 @@
"h": 13,
"w": 24,
"x": 0,
- "y": 1
+ "y": 28
},
- "id": 2,
+ "id": 10,
"options": {
"cellHeight": "sm",
"footer": {
@@ -241,7 +856,7 @@
"sortBy": [
{
"desc": true,
- "displayName": "Hostname"
+ "displayName": "GPU MEMORY"
}
]
},
@@ -418,10 +1033,80 @@
"range": false,
"refId": "command",
"useBackend": false
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "builder",
+ "exemplar": false,
+ "expr": "host_virtual_memory_total_MiB{hostname=~\"$hostname\"}",
+ "format": "table",
+ "fullMetaSearch": false,
+ "hide": false,
+ "includeNullMetadata": true,
+ "instant": true,
+ "legendFormat": "__auto",
+ "range": false,
+ "refId": "host memory total",
+ "useBackend": false
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "${DS_PROMETHEUS}"
+ },
+ "disableTextWrap": false,
+ "editorMode": "builder",
+ "exemplar": false,
+ "expr": "gpu_memory_total_MiB{hostname!~\"$hostname\"}",
+ "format": "table",
+ "fullMetaSearch": false,
+ "hide": false,
+ "includeNullMetadata": true,
+ "instant": true,
+ "legendFormat": "__auto",
+ "range": false,
+ "refId": "gpu memory total",
+ "useBackend": false
}
],
"title": "GPU Processes",
"transformations": [
+ {
+ "id": "configFromData",
+ "options": {
+ "applyTo": {
+ "id": "byType",
+ "options": "number"
+ },
+ "configRefId": "host memory total",
+ "mappings": [
+ {
+ "fieldName": "Value #rss memory",
+ "handlerKey": "max"
+ }
+ ]
+ }
+ },
+ {
+ "id": "configFromData",
+ "options": {
+ "applyTo": {
+ "id": "byType",
+ "options": "number"
+ },
+ "configRefId": "gpu memory total",
+ "mappings": [
+ {
+ "fieldName": "Value #gpu memory",
+ "handlerKey": "max"
+ }
+ ]
+ }
+ },
{
"id": "merge",
"options": {}
@@ -520,18 +1205,6 @@
}
}
},
- {
- "id": "sortBy",
- "options": {
- "fields": {},
- "sort": [
- {
- "desc": true,
- "field": "Value #gpu memory (lastNotNull)"
- }
- ]
- }
- },
{
"id": "organize",
"options": {
@@ -583,337 +1256,9 @@
"h": 1,
"w": 24,
"x": 0,
- "y": 14
+ "y": 41
},
- "id": 3,
- "panels": [],
- "title": "Overview",
- "type": "row"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "description": "",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "max": 100,
- "min": 0,
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "yellow",
- "value": 70
- },
- {
- "color": "red",
- "value": 90
- }
- ]
- },
- "unit": "percent"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 9,
- "w": 3,
- "x": 0,
- "y": 15
- },
- "id": 4,
- "options": {
- "minVizHeight": 75,
- "minVizWidth": 75,
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "showThresholdLabels": false,
- "showThresholdMarkers": true,
- "sizing": "auto"
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "disableTextWrap": false,
- "editorMode": "builder",
- "exemplar": false,
- "expr": "host_cpu_percent_Percentage{hostname=~\"$hostname\"}",
- "fullMetaSearch": false,
- "includeNullMetadata": true,
- "instant": true,
- "legendFormat": "{{hostname}} CPU (%)",
- "range": false,
- "refId": "A",
- "useBackend": false
- }
- ],
- "title": "CPU Utilization",
- "type": "gauge"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "description": "",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "max": 100,
- "min": 0,
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "yellow",
- "value": 70
- },
- {
- "color": "red",
- "value": 90
- }
- ]
- },
- "unit": "percent"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 18,
- "w": 11,
- "x": 3,
- "y": 15
- },
- "id": 5,
- "options": {
- "minVizHeight": 75,
- "minVizWidth": 75,
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "showThresholdLabels": false,
- "showThresholdMarkers": true,
- "sizing": "auto"
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "disableTextWrap": false,
- "editorMode": "builder",
- "exemplar": false,
- "expr": "gpu_utilization_Percentage{hostname=~\"$hostname\"}",
- "fullMetaSearch": false,
- "includeNullMetadata": true,
- "instant": true,
- "legendFormat": "{{hostname}} GPU {{index}} (%)",
- "range": false,
- "refId": "A",
- "useBackend": false
- }
- ],
- "title": "GPU Utilization",
- "type": "gauge"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "description": "",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "max": 100,
- "min": 0,
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "yellow",
- "value": 70
- },
- {
- "color": "red",
- "value": 90
- }
- ]
- },
- "unit": "percent"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 18,
- "w": 10,
- "x": 14,
- "y": 15
- },
- "id": 6,
- "options": {
- "minVizHeight": 75,
- "minVizWidth": 75,
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "showThresholdLabels": false,
- "showThresholdMarkers": true,
- "sizing": "auto"
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "disableTextWrap": false,
- "editorMode": "builder",
- "exemplar": false,
- "expr": "gpu_memory_percent_Percentage{hostname=~\"$hostname\"}",
- "fullMetaSearch": false,
- "includeNullMetadata": true,
- "instant": true,
- "legendFormat": "{{hostname}} GPU {{index}} (%)",
- "range": false,
- "refId": "A",
- "useBackend": false
- }
- ],
- "title": "GPU Memory",
- "type": "gauge"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "description": "",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "max": 100,
- "min": 0,
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green"
- },
- {
- "color": "yellow",
- "value": 70
- },
- {
- "color": "red",
- "value": 90
- }
- ]
- },
- "unit": "percent"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 9,
- "w": 3,
- "x": 0,
- "y": 24
- },
- "id": 7,
- "options": {
- "minVizHeight": 75,
- "minVizWidth": 75,
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "showThresholdLabels": false,
- "showThresholdMarkers": true,
- "sizing": "auto"
- },
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_PROMETHEUS}"
- },
- "disableTextWrap": false,
- "editorMode": "builder",
- "exemplar": false,
- "expr": "host_virtual_memory_percent_Percentage{hostname=~\"$hostname\"}",
- "fullMetaSearch": false,
- "includeNullMetadata": true,
- "instant": true,
- "legendFormat": "{{hostname}} MEM (%)",
- "range": false,
- "refId": "A",
- "useBackend": false
- }
- ],
- "title": "Host Virtual Memory",
- "type": "gauge"
- },
- {
- "collapsed": false,
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 33
- },
- "id": 8,
+ "id": 11,
"panels": [],
"title": "System",
"type": "row"
@@ -962,31 +1307,17 @@
"mode": "off"
}
},
- "mappings": [],
"min": 0,
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green"
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
"unit": "percent"
- },
- "overrides": []
+ }
},
"gridPos": {
"h": 14,
"w": 12,
"x": 0,
- "y": 34
+ "y": 42
},
- "id": 9,
+ "id": 12,
"options": {
"legend": {
"calcs": [
@@ -1071,30 +1402,16 @@
"mode": "off"
}
},
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green"
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
"unit": "percent"
- },
- "overrides": []
+ }
},
"gridPos": {
"h": 14,
"w": 12,
"x": 12,
- "y": 34
+ "y": 42
},
- "id": 10,
+ "id": 13,
"options": {
"legend": {
"calcs": [
@@ -1211,31 +1528,16 @@
"mode": "off"
}
},
- "mappings": [],
- "min": 0,
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green"
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
"unit": "mbytes"
- },
- "overrides": []
+ }
},
"gridPos": {
"h": 14,
"w": 12,
"x": 0,
- "y": 48
+ "y": 56
},
- "id": 11,
+ "id": 14,
"options": {
"legend": {
"calcs": [
@@ -1320,31 +1622,17 @@
"mode": "off"
}
},
- "mappings": [],
"min": 0,
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green"
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
"unit": "mbytes"
- },
- "overrides": []
+ }
},
"gridPos": {
"h": 14,
"w": 12,
"x": 12,
- "y": 48
+ "y": 56
},
- "id": 12,
+ "id": 15,
"options": {
"legend": {
"calcs": [
@@ -1391,9 +1679,9 @@
"h": 1,
"w": 24,
"x": 0,
- "y": 62
+ "y": 70
},
- "id": 13,
+ "id": 16,
"panels": [],
"title": "System I/O",
"type": "row"
@@ -1442,31 +1730,17 @@
"mode": "off"
}
},
- "mappings": [],
"min": 0,
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green"
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
"unit": "MiBs"
- },
- "overrides": []
+ }
},
"gridPos": {
"h": 14,
"w": 12,
"x": 0,
- "y": 63
+ "y": 71
},
- "id": 14,
+ "id": 17,
"options": {
"legend": {
"calcs": [
@@ -1569,30 +1843,16 @@
"mode": "off"
}
},
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green"
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
"unit": "MiBs"
- },
- "overrides": []
+ }
},
"gridPos": {
"h": 14,
"w": 12,
"x": 12,
- "y": 63
+ "y": 71
},
- "id": 15,
+ "id": 18,
"options": {
"legend": {
"calcs": [
@@ -1657,11 +1917,11 @@
"h": 1,
"w": 24,
"x": 0,
- "y": 77
+ "y": 85
},
- "id": 16,
+ "id": 19,
"panels": [],
- "title": "Accelerator",
+ "title": "Device",
"type": "row"
},
{
@@ -1707,32 +1967,18 @@
"mode": "off"
}
},
- "mappings": [],
"max": 100,
"min": 0,
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green"
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
"unit": "percent"
- },
- "overrides": []
+ }
},
"gridPos": {
"h": 14,
"w": 12,
"x": 0,
- "y": 78
+ "y": 86
},
- "id": 17,
+ "id": 20,
"options": {
"legend": {
"calcs": [
@@ -1818,31 +2064,17 @@
"mode": "off"
}
},
- "mappings": [],
"min": 0,
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green"
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
"unit": "mbytes"
- },
- "overrides": []
+ }
},
"gridPos": {
"h": 14,
"w": 12,
"x": 12,
- "y": 78
+ "y": 86
},
- "id": 18,
+ "id": 21,
"options": {
"legend": {
"calcs": [
@@ -1928,31 +2160,17 @@
"mode": "off"
}
},
- "mappings": [],
"min": 0,
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green"
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
"unit": "MiBs"
- },
- "overrides": []
+ }
},
"gridPos": {
"h": 14,
"w": 12,
"x": 0,
- "y": 92
+ "y": 100
},
- "id": 19,
+ "id": 22,
"options": {
"legend": {
"calcs": [
@@ -2038,31 +2256,17 @@
"mode": "off"
}
},
- "mappings": [],
"min": 0,
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green"
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
"unit": "MiBs"
- },
- "overrides": []
+ }
},
"gridPos": {
"h": 14,
"w": 12,
"x": 12,
- "y": 92
+ "y": 100
},
- "id": 20,
+ "id": 23,
"options": {
"legend": {
"calcs": [
@@ -2148,31 +2352,17 @@
"mode": "off"
}
},
- "mappings": [],
"min": 0,
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green"
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
"unit": "MiBs"
- },
- "overrides": []
+ }
},
"gridPos": {
"h": 14,
"w": 12,
"x": 0,
- "y": 106
+ "y": 114
},
- "id": 21,
+ "id": 24,
"options": {
"legend": {
"calcs": [
@@ -2258,31 +2448,17 @@
"mode": "off"
}
},
- "mappings": [],
"min": 0,
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green"
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
"unit": "MiBs"
- },
- "overrides": []
+ }
},
"gridPos": {
"h": 14,
"w": 12,
"x": 12,
- "y": 106
+ "y": 114
},
- "id": 22,
+ "id": 25,
"options": {
"legend": {
"calcs": [
@@ -2367,30 +2543,16 @@
"mode": "off"
}
},
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green"
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
"unit": "watt"
- },
- "overrides": []
+ }
},
"gridPos": {
"h": 14,
"w": 12,
"x": 0,
- "y": 120
+ "y": 128
},
- "id": 23,
+ "id": 26,
"options": {
"legend": {
"calcs": [
@@ -2475,30 +2637,16 @@
"mode": "off"
}
},
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green"
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
"unit": "celsius"
- },
- "overrides": []
+ }
},
"gridPos": {
"h": 14,
"w": 12,
"x": 12,
- "y": 120
+ "y": 128
},
- "id": 24,
+ "id": 27,
"options": {
"legend": {
"calcs": [