feat(monitor): enhance monitor dashboard with real-time physical host metrics

This commit is contained in:
duorameng
2026-06-12 19:44:57 +08:00
parent 633d683c0e
commit d5c4680fc5
3 changed files with 141 additions and 7 deletions
+11
View File
@@ -17,6 +17,17 @@ export interface MonitorStats {
num_cpu: number
goroutines: number
}
host: {
cpu_percent: number
mem_total: number
mem_used: number
mem_percent: number
disk_total: number
disk_used: number
disk_percent: number
uptime: number
platform: string
}
mem: {
alloc: number
total_alloc: number