mirror of
https://github.com/MengMengCode/CLICD.git
synced 2026-12-04 12:29:21 +08:00
Add offline disk growth and managed data disks, portable full backups and restore, independent clones and batch instance templates, and local ISO and QCOW2 uploads. Persist task details and metric history in SQLite. Replace hand-drawn host and instance charts with shadcn/ui Chart and Recharts, keep numeric values and units together, and preserve responsive layouts, icons, time ranges and full-sample statistics. Validation: backend tests and vet; Linux KVM/LXC/API/config/server tests; frontend and documentation production builds; real disk, reinstall, backup, clone, upload, task-history and NAT tests; 37 cross-host restore checks; responsive chart checks and read-only deployed verification. Guest Windows restore behavior has not been tested on a running Windows VM.
770 B
770 B
Dashboard
Host and instance metric history is sampled about every 30 seconds and persisted in SQLite for up to 7 days across service restarts. Task records and stage logs are persisted too; see Tasks and Metric History.
The dashboard shows the overall state of the host and virtualization resources.
Metrics
- Total containers, running containers, and stopped containers.
- CPU, memory, disk, and Swap overview.
- Entry points for host network and routing status.
- Task queue status.
Related APIs
GET /api/v1/dashboard
GET /api/v1/host-info
GET /api/v1/routing
GET /api/v1/ipv6/status
GET /api/v1/tasks
API requests must include an API key:
curl -H "X-API-Key: YOUR_API_KEY" https://panel.example.com/api/v1/dashboard