[agent-go] - 去除本地环境信息的默认设置,优化启动逻辑

This commit is contained in:
zeaslity
2024-04-28 16:41:44 +08:00
parent 88d75a704e
commit f124972b84
7 changed files with 83 additions and 30 deletions

View File

@@ -28,6 +28,7 @@ type AgentServerInfo struct {
KernelArch string `json:"kernelArch"` // native cpu architecture queried at runtime, as returned by `uname -m` or empty string in case of error
IoSpeed string `json:"ioSpeed" yaml:"ioSpeed"`
MemoryTotal string `json:"memoryTotal" yaml:"memoryTotal"`
SwapTotal string `json:"swapTotal" yaml:"swapTotal"`
DiskTotal string `json:"diskTotal" yaml:"diskTotal"`
DiskUsage string `json:"diskUsage" yaml:"diskUsage"`
Comment string `json:"comment" yaml:"comment"`