Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-09-13 19:20:30 +00:00
parent 8bd2057efc
commit cf69da4a54
6 changed files with 94 additions and 71 deletions

View File

@@ -1218,7 +1218,6 @@
"wideLayout": true
},
"pluginVersion": "12.1.1",
"repeatDirection": "h",
"targets": [
{
"editorMode": "code",
@@ -3435,7 +3434,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 76
"y": 73
},
"id": 65,
"panels": [],
@@ -3486,10 +3485,10 @@
"h": 3,
"w": 24,
"x": 0,
"y": 73
"y": 74
},
"id": 66,
"maxPerRow": 4,
"maxPerRow": 6,
"options": {
"colorMode": "value",
"graphMode": "none",
@@ -3555,6 +3554,7 @@
"y": 77
},
"id": 70,
"maxPerRow": 6,
"options": {
"colorMode": "value",
"graphMode": "none",
@@ -3625,6 +3625,7 @@
"y": 80
},
"id": 69,
"maxPerRow": 6,
"options": {
"colorMode": "value",
"graphMode": "none",
@@ -3686,6 +3687,7 @@
"y": 83
},
"id": 68,
"maxPerRow": 6,
"options": {
"colorMode": "value",
"graphMode": "none",
@@ -3747,6 +3749,7 @@
"y": 86
},
"id": 67,
"maxPerRow": 6,
"options": {
"colorMode": "value",
"graphMode": "none",
@@ -3889,7 +3892,7 @@
"y": 90
},
"id": 58,
"maxPerRow": 3,
"maxPerRow": 4,
"options": {
"legend": {
"calcs": [],
@@ -3913,18 +3916,6 @@
"legendFormat": "{{block_group_type}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"expr": "min(node_btrfs_device_size_bytes{hostname=\"$hostname\", uuid=\"$btrfs_uuid\"})",
"hide": false,
"legendFormat": "total",
"range": true,
"refId": "B"
}
],
"title": "Storage Used ($btrfs_uuid)",
@@ -3994,7 +3985,7 @@
"y": 98
},
"id": 59,
"maxPerRow": 3,
"maxPerRow": 6,
"options": {
"legend": {
"calcs": [],
@@ -4087,7 +4078,7 @@
"y": 106
},
"id": 60,
"maxPerRow": 4,
"maxPerRow": 6,
"options": {
"legend": {
"calcs": [],
@@ -4206,6 +4197,7 @@
"y": 115
},
"id": 62,
"maxPerRow": 6,
"options": {
"legend": {
"calcs": [],
@@ -4324,6 +4316,7 @@
"y": 123
},
"id": 63,
"maxPerRow": 6,
"options": {
"legend": {
"calcs": [],
@@ -4429,6 +4422,7 @@
"y": 131
},
"id": 64,
"maxPerRow": 6,
"options": {
"legend": {
"calcs": [],
@@ -4916,7 +4910,7 @@
{
"allowCustomValue": false,
"current": {
"text": ["All"],
"text": "All",
"value": ["$__all"]
},
"definition": "label_values(node_cpu_seconds_total{hostname=\"$hostname\"},cpu)",
@@ -4956,43 +4950,6 @@
"regex": ".*\\s([0-9]+)\\s.*",
"type": "query"
},
{
"current": {
"text": "30",
"value": "30"
},
"hide": 2,
"label": "extra_watts",
"name": "extra_watts",
"options": [
{
"selected": true,
"text": "30",
"value": "30"
}
],
"query": "30",
"type": "custom"
},
{
"allowCustomValue": false,
"current": {
"text": "0.2350",
"value": "0.2350"
},
"hide": 2,
"label": "energy_price",
"name": "energy_price",
"options": [
{
"selected": true,
"text": "0.2350",
"value": "0.2350"
}
],
"query": "0.2350",
"type": "custom"
},
{
"allowCustomValue": false,
"current": {
@@ -5027,12 +4984,16 @@
"text": [
"5e8dfca5-4c6e-4265-8478-128a0ed4fe57",
"601b8df9-94cc-4cf3-93e3-e978605bb3fe",
"a8e4ae38-f617-4dcb-9c13-863f71df2f9f"
"a8e4ae38-f617-4dcb-9c13-863f71df2f9f",
"1e44ec70-5783-4b76-852c-490e0254c9e7",
"64a29172-cdc6-43c5-b8cd-2ca44739a07b"
],
"value": [
"5e8dfca5-4c6e-4265-8478-128a0ed4fe57",
"601b8df9-94cc-4cf3-93e3-e978605bb3fe",
"a8e4ae38-f617-4dcb-9c13-863f71df2f9f"
"a8e4ae38-f617-4dcb-9c13-863f71df2f9f",
"1e44ec70-5783-4b76-852c-490e0254c9e7",
"64a29172-cdc6-43c5-b8cd-2ca44739a07b"
]
},
"definition": "label_values(node_btrfs_device_size_bytes,btrfs_dev_uuid)",
@@ -5054,8 +5015,8 @@
{
"allowCustomValue": false,
"current": {
"text": ["nvme0n1", "sda", "sdb", "sdc"],
"value": ["nvme0n1", "sda", "sdb", "sdc"]
"text": ["nvme0n1", "sda", "sdb", "sdc", "sdd", "sde"],
"value": ["nvme0n1", "sda", "sdb", "sdc", "sdd", "sde"]
},
"definition": "label_values(node_disk_info,device)",
"description": "",
@@ -5076,7 +5037,7 @@
{
"allowCustomValue": false,
"current": {
"text": ["All"],
"text": "All",
"value": ["$__all"]
},
"definition": "label_values(smartctl_device,device)",