|
|
@@ -429,11 +429,12 @@ func initRootDataFromEvent() RootDataT {
|
|
|
sip := utils.GetHostIP()
|
|
|
sysTag := utils.GetSysTag()
|
|
|
systemUUID := utils.GetSystemUUID()
|
|
|
+ agentVersion := utils.GetAgentVersion()
|
|
|
data := RootDataT{
|
|
|
// todo AccountId
|
|
|
AccountId: accountID,
|
|
|
AgentId: 0, // 基于 ip:port + process_name + exe路径生成
|
|
|
- AgentVersion: "2.1.0",
|
|
|
+ AgentVersion: agentVersion,
|
|
|
AppId: 0, // 基于appname生成
|
|
|
AppIdFrom: -1,
|
|
|
AppName: "eBPF-agent", // server配置
|