feat: 新增宿主机指标Top榜单
Build and Deploy Vue3 / build (push) Successful in 1m44s
Build and Deploy Vue3 / deploy (push) Successful in 49s

This commit is contained in:
shiran
2026-07-23 22:45:30 +08:00
parent 09918d03e3
commit 816771f151
2 changed files with 278 additions and 2 deletions
+5
View File
@@ -145,6 +145,11 @@ export const getRemoteHostMetrics = (params) => {
return http2.get('/api/v1/admin/server/host_service/point/host/metrics', { params })
}
/** 获取宿主机内虚拟机指标 Top 榜单 */
export const getHostMetricsTop = (params) => {
return http2.get('/api/v1/admin/server/host_service/point/host/metrics/top', { params })
}
/** 查询历史指标(宿主机或虚拟机) */
export const getMetricsHistory = (params) => {
return http2.get('/api/v1/admin/server/host_service/point/host/metrics_history', { params })