monitoring: streamline storage dashboard to single time series panel and filter real host mounts
This commit is contained in:
@@ -1099,155 +1099,18 @@
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"type": "bargauge",
|
||||
"title": "💽 فضای خالی هر درایو و Mount Point (Free Space)",
|
||||
"description": "نمایش حجم و فضای خالی تفکیکی هر یک از درایوها و پارتیشنهای مونتشده سیستمعامل به صورت خوانا (Human-Readable).",
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "copykar-prometheus"
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 8,
|
||||
"w": 12,
|
||||
"x": 0,
|
||||
"y": 51
|
||||
},
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "copykar-prometheus"
|
||||
},
|
||||
"refId": "A",
|
||||
"expr": "copykar_disk_free_bytes",
|
||||
"legendFormat": "{{mountpoint}} ({{device}})",
|
||||
"instant": true
|
||||
}
|
||||
],
|
||||
"options": {
|
||||
"displayMode": "gradient",
|
||||
"orientation": "horizontal",
|
||||
"showUnfilled": true,
|
||||
"reduceOptions": {
|
||||
"values": false,
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": ""
|
||||
}
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"unit": "bytes",
|
||||
"color": {
|
||||
"mode": "palette-classic"
|
||||
},
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "red",
|
||||
"value": null
|
||||
},
|
||||
{
|
||||
"color": "orange",
|
||||
"value": 1073741824
|
||||
},
|
||||
{
|
||||
"color": "green",
|
||||
"value": 5368709120
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"type": "gauge",
|
||||
"title": "📈 درصد فضای آزاد هر پارتیشن (Free % Gauges)",
|
||||
"description": "درصد فضای خالی هر پارتیشن مونتشده سیستمعامل.",
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "copykar-prometheus"
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 8,
|
||||
"w": 12,
|
||||
"x": 12,
|
||||
"y": 51
|
||||
},
|
||||
"targets": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "copykar-prometheus"
|
||||
},
|
||||
"refId": "A",
|
||||
"expr": "copykar_disk_free_percent",
|
||||
"legendFormat": "{{mountpoint}}",
|
||||
"instant": true
|
||||
}
|
||||
],
|
||||
"options": {
|
||||
"reduceOptions": {
|
||||
"values": false,
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": ""
|
||||
},
|
||||
"showThresholdLabels": false,
|
||||
"showThresholdMarkers": true
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"unit": "percent",
|
||||
"min": 0,
|
||||
"max": 100,
|
||||
"color": {
|
||||
"mode": "thresholds"
|
||||
},
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "red",
|
||||
"value": null
|
||||
},
|
||||
{
|
||||
"color": "orange",
|
||||
"value": 15
|
||||
},
|
||||
{
|
||||
"color": "yellow",
|
||||
"value": 30
|
||||
},
|
||||
{
|
||||
"color": "green",
|
||||
"value": 50
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"overrides": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 20,
|
||||
"type": "timeseries",
|
||||
"title": "💽 روند زمانی فضای آزاد هر درایو (Free Space History)",
|
||||
"description": "روند زمانی فضای آزاد هر یک از درایوهای مونتشده سیستمعامل.",
|
||||
"title": "💽 روند زمانی فضای آزاد درایوهای سیستمعامل (Host OS Free Storage)",
|
||||
"description": "روند زمانی فضای آزاد واقعی هر یک از درایوهای مونتشده سیستمعامل سرور به صورت خوانا (Human-Readable).",
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "copykar-prometheus"
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 8,
|
||||
"h": 9,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 59
|
||||
"y": 51
|
||||
},
|
||||
"targets": [
|
||||
{
|
||||
@@ -1256,7 +1119,7 @@
|
||||
"uid": "copykar-prometheus"
|
||||
},
|
||||
"refId": "A",
|
||||
"expr": "copykar_disk_free_bytes",
|
||||
"expr": "copykar_disk_free_bytes{mountpoint=~\".+\"}",
|
||||
"legendFormat": "{{mountpoint}} ({{device}})"
|
||||
}
|
||||
],
|
||||
@@ -1314,6 +1177,6 @@
|
||||
"timezone": "browser",
|
||||
"title": "داشبورد مدیریت کپیکار (Copykar Dashboard)",
|
||||
"uid": "copykar-executive-dashboard",
|
||||
"version": 7,
|
||||
"version": 8,
|
||||
"weekStart": ""
|
||||
}
|
||||
Reference in New Issue
Block a user