fix(monitor): 虚拟机指标单位矫正与监控体验优化
Build and Deploy Vue3 / build (push) Successful in 1m28s
Build and Deploy Vue3 / deploy (push) Successful in 33s

VmMonitor: 同指标多VM合并为一张多折线图;net_rx/net_tx按Bytes/s直接使用不再差分;时间选择器改为相对时间动态计算;新增自动刷新。VmDetail/UserVmDetail: 磁盘IOPS改为磁盘IO速率;磁盘I/O改为磁盘读写量;网络流量改为网络速率。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
shiran
2026-06-03 18:13:49 +08:00
parent f667fe420a
commit d01c4e2e34
3 changed files with 205 additions and 189 deletions
+3 -3
View File
@@ -656,13 +656,13 @@
<el-row :gutter="16" style="margin-top: 16px">
<el-col :span="12">
<el-card shadow="hover" class="metrics-card">
<template #header><span class="metrics-title"><el-icon><Refresh /></el-icon> 磁盘 I/O</span></template>
<template #header><span class="metrics-title"><el-icon><Refresh /></el-icon> 磁盘读写量</span></template>
<div ref="diskChartRef" class="chart-container"></div>
</el-card>
</el-col>
<el-col :span="12">
<el-card shadow="hover" class="metrics-card">
<template #header><span class="metrics-title"><el-icon><Refresh /></el-icon> 网络流量</span></template>
<template #header><span class="metrics-title"><el-icon><Refresh /></el-icon> 网络速率</span></template>
<div ref="netChartRef" class="chart-container"></div>
</el-card>
</el-col>
@@ -670,7 +670,7 @@
<el-row :gutter="16" style="margin-top: 16px">
<el-col :span="12">
<el-card shadow="hover" class="metrics-card">
<template #header><span class="metrics-title"><el-icon><Refresh /></el-icon> 磁盘 IOPS</span></template>
<template #header><span class="metrics-title"><el-icon><Refresh /></el-icon> 磁盘IO速率</span></template>
<div ref="diskIopsChartRef" class="chart-container"></div>
</el-card>
</el-col>