chore: update zfs dashboard

This commit is contained in:
SeanOMik 2023-08-06 19:13:47 -04:00
parent e9774564e5
commit 74b2f99dc7
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
1 changed files with 22 additions and 88 deletions

View File

@ -239,6 +239,8 @@ data:
"mode": "thresholds"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
@ -246,26 +248,28 @@ data:
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 60
},
{
"color": "red",
"value": 1
"value": 70
}
]
}
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 2,
"w": 3,
"x": 6,
"y": 0
},
"id": 6,
"id": 25,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
@ -274,7 +278,8 @@ data:
"fields": "",
"values": false
},
"textMode": "auto"
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.5.3",
"targets": [
@ -284,17 +289,14 @@ data:
"uid": "${DS_VICTORIA}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(zfs_read_errors{device_type=\"pool\",device_name=~\"$viewingPool\"})",
"format": "time_series",
"instant": false,
"expr": "zfs_fragmentation{pool=\"$viewingPool\", device_type=\"pool\"}",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Pool Read Errors",
"type": "stat"
"title": "Pool Fragmentation",
"type": "gauge"
},
{
"datasource": {
@ -325,76 +327,8 @@ data:
},
"gridPos": {
"h": 6,
"w": 2,
"x": 8,
"y": 0
},
"id": 23,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.5.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIA}"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(zfs_write_errors{device_name=\"$viewingPool\", device_type=\"pool\"})",
"format": "time_series",
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Pool Write Errors",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_VICTORIA}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 2,
"x": 10,
"w": 3,
"x": 9,
"y": 0
},
"id": 24,
@ -421,7 +355,7 @@ data:
},
"editorMode": "code",
"exemplar": false,
"expr": "sum(zfs_checksum_errors{device_name=\"$viewingPool\", device_type=\"pool\"})",
"expr": "sum(zfs_checksum_errors{device_name=\"$viewingPool\", device_type=\"pool\"}) + sum(zfs_write_errors{device_name=\"$viewingPool\", device_type=\"pool\"}) + sum(zfs_read_errors{device_type=\"pool\",device_name=~\"$viewingPool\"})",
"format": "time_series",
"instant": false,
"legendFormat": "__auto",
@ -429,7 +363,7 @@ data:
"refId": "A"
}
],
"title": "Pool Checksum Errors",
"title": "Pool Total Errors",
"type": "stat"
},
{
@ -1397,13 +1331,13 @@ data:
]
},
"time": {
"from": "now-6h",
"from": "now-15m",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "ZFS Dashboard",
"uid": "2GaZi3hVk",
"version": 2,
"version": 3,
"weekStart": ""
}