snapshot: 数据源管理+大屏增强前快照

This commit is contained in:
attacker committed 2026-06-18 14:01:22 +00:00
1 parent 2bf3e7c308
commit 1726ad65ac
19 files changed
+2540 -273

No files matched your search

+3 -2
View File
@@ -82,8 +82,9 @@ func main() {
// collectAndReport 执行单次采集并上报;各项采集独立进行,单项失败不影响整体上报
collectAndReport := func() {
report := &model.Report{
Hostname: hostname,
Timestamp: time.Now().UTC().Format(time.RFC3339),
Hostname: hostname,
Timestamp: time.Now().UTC().Format(time.RFC3339),
AgentVersion: version,
}
if stat, err := cpuCollector.Collect(); err != nil {