1、所有流量表新增字段ping丢包率。

2、开发ping丢包率图形接口。
This commit is contained in:
gaoyutao
2026-01-19 18:17:23 +08:00
parent 4ed1a66466
commit 14a750a736
8 changed files with 56 additions and 15 deletions
@@ -146,11 +146,11 @@
a.create_time as createTime,
a.update_time as updateTime,
b.serial,
b.total,
b.write_speed as writeSpeed,
b.read_speed as readSpeed,
TRUNCATE(IFNULL(b.total,0)/(1024 * 1024 * 1024), 0) as total,
TRUNCATE(IFNULL(b.write_speed,0)/1024, 0) as writeSpeed,
TRUNCATE(IFNULL(b.read_speed,0)/1024, 0) as readSpeed,
b.type,
b.used_space as usedSpace
TRUNCATE(IFNULL(b.used_space,0)/(1024 * 1024 * 1024), 0) as usedSpace
FROM all_disk_name a
LEFT JOIN (
SELECT client_id, name, MAX(create_time) as max_create_time