修复:保留监控缺测语义、采样日期与磁盘字段名称

This commit is contained in:
cieanyau committed 2026-11-07 04:18:02 +08:00
1 parent 520c0894c2
commit 6a07904ca0
7 files changed
+726 -71

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ function t(t, n) {
? null
: Number(Math.min(100, Math.max(0, n)).toFixed(2));
},
s = (e) => e.map((e) => String(e.time ?? ``).slice(11, 16));
s = (e) => e.map((e) => String(e.time ?? ``));
if (n === `cpu` || /%|percent/i.test(t.unit ?? ``)) {
let e = r[n === `memory` && a >= 0 ? a : 0] ?? [];
return {