|
|
@@ -369,26 +369,6 @@ func (c *Container) Collect(ch chan<- prometheus.Metric) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- type AppInfo struct {
|
|
|
- AppName string `json:"app_name"`
|
|
|
- AppIdHash INT_HASH_ID `json:"app_id_hash"`
|
|
|
- InstanceIdHash INT_HASH_ID `json:"instance_id_hash"`
|
|
|
- AgentId int64 `json:"agent_id"`
|
|
|
- Sn string `json:"sn"`
|
|
|
- Sport int `json:"sport"`
|
|
|
- ServiceName string `json:"service_name"`
|
|
|
- CodeType CodeType `json:"code_type"`
|
|
|
- EBPFProcInfo *EbpfProcInfo `json:"ebpf_proc_info"`
|
|
|
- RegisterAt int64 `json:"register_at"`
|
|
|
- UpdateAt int64 `json:"update_at"`
|
|
|
- Status APP_TYPE `json:"status"`
|
|
|
- }
|
|
|
-
|
|
|
- type INT_HASH_ID struct {
|
|
|
- IntVal int64
|
|
|
- HashtVal HashByte
|
|
|
- }
|
|
|
-
|
|
|
strInstanceID := strconv.FormatInt(c.AppInfo.InstanceIdHash.IntVal, 10)
|
|
|
strAppId := strconv.FormatInt(c.AppInfo.AppIdHash.IntVal, 10)
|
|
|
strAppName := c.AppInfo.AppName
|