Files
vps-control/control-plane/grafana/dashboards/vps-control-overview.json
DizelBadCoder c4dc19cd41
Some checks failed
CI / containers (push) Has been cancelled
CI / agent (push) Has been cancelled
CI / backend (push) Has been cancelled
CI / frontend (push) Has been cancelled
git init
2026-09-19 19:31:36 +03:00

68 lines
2.9 KiB
JSON

{
"annotations": {"list": []},
"editable": false,
"graphTooltip": 1,
"id": null,
"links": [],
"panels": [
{
"datasource": {"type": "prometheus", "uid": "vps-control-prometheus"},
"fieldConfig": {"defaults": {"max": 100, "min": 0, "unit": "percent"}, "overrides": []},
"gridPos": {"h": 8, "w": 12, "x": 0, "y": 0},
"id": 1,
"options": {"legend": {"displayMode": "list", "placement": "bottom"}},
"targets": [{"editorMode": "code", "expr": "vps_control_cpu_usage_percent", "legendFormat": "{{server_name}}", "range": true, "refId": "A"}],
"title": "CPU usage",
"type": "timeseries"
},
{
"datasource": {"type": "prometheus", "uid": "vps-control-prometheus"},
"fieldConfig": {"defaults": {"max": 100, "min": 0, "unit": "percent"}, "overrides": []},
"gridPos": {"h": 8, "w": 12, "x": 12, "y": 0},
"id": 2,
"options": {"legend": {"displayMode": "list", "placement": "bottom"}},
"targets": [{"editorMode": "code", "expr": "vps_control_memory_usage_percent", "legendFormat": "{{server_name}}", "range": true, "refId": "A"}],
"title": "Memory usage",
"type": "timeseries"
},
{
"datasource": {"type": "prometheus", "uid": "vps-control-prometheus"},
"fieldConfig": {"defaults": {"max": 100, "min": 0, "unit": "percent"}, "overrides": []},
"gridPos": {"h": 8, "w": 12, "x": 0, "y": 8},
"id": 3,
"options": {"legend": {"displayMode": "list", "placement": "bottom"}},
"targets": [{"editorMode": "code", "expr": "vps_control_disk_usage_percent", "legendFormat": "{{server_name}}", "range": true, "refId": "A"}],
"title": "Disk usage",
"type": "timeseries"
},
{
"datasource": {"type": "prometheus", "uid": "vps-control-prometheus"},
"fieldConfig": {"defaults": {"unit": "short"}, "overrides": []},
"gridPos": {"h": 8, "w": 12, "x": 12, "y": 8},
"id": 4,
"options": {"legend": {"displayMode": "list", "placement": "bottom"}},
"targets": [{"editorMode": "code", "expr": "vps_control_connections", "legendFormat": "{{server_name}}", "range": true, "refId": "A"}],
"title": "Connections",
"type": "timeseries"
},
{
"datasource": {"type": "loki", "uid": "vps-control-loki"},
"gridPos": {"h": 12, "w": 24, "x": 0, "y": 16},
"id": 5,
"options": {"dedupStrategy": "none", "enableLogDetails": true, "prettifyLogMessage": false, "showCommonLabels": false, "showLabels": true, "showTime": true, "sortOrder": "Descending", "wrapLogMessage": true},
"targets": [{"editorMode": "code", "expr": "{unit=~\".+\"}", "queryType": "range", "refId": "A"}],
"title": "Allow-listed journald logs",
"type": "logs"
}
],
"refresh": "1m",
"schemaVersion": 41,
"tags": ["vps-control"],
"templating": {"list": []},
"time": {"from": "now-6h", "to": "now"},
"timezone": "browser",
"title": "VPS Control Overview",
"uid": "vps-control-overview",
"version": 1
}