Skip to content

Commit

Permalink
feat: added free rootfs to edge nodes
Browse files Browse the repository at this point in the history
Signed-off-by: Armin Schlegel <[email protected]>
  • Loading branch information
siredmar committed Nov 23, 2023
1 parent 9f8d527 commit 202e654
Showing 1 changed file with 64 additions and 1 deletion.
65 changes: 64 additions & 1 deletion dashboards/edge_nodes.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,69 @@
"title": "RootFS Total",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "text",
"value": null
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 7,
"y": 0
},
"id": 46,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"editorMode": "builder",
"expr": "node_filesystem_free_bytes{instance=\"$instance\", job=\"node_exporter\", mountpoint=\"/\", fstype!=\"rootfs\"}",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "RootFs Free",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
Expand Down Expand Up @@ -259,7 +322,7 @@
"gridPos": {
"h": 3,
"w": 4,
"x": 7,
"x": 11,
"y": 0
},
"id": 22,
Expand Down

0 comments on commit 202e654

Please sign in to comment.