[ Status ] 完成Agent Metric部分

This commit is contained in:
zeaslity
2023-07-11 16:52:31 +08:00
parent 6a34bfd6d2
commit 98467f9590
6 changed files with 21 additions and 19 deletions

View File

@@ -164,7 +164,7 @@ func statusOMHandler(octopusMessage *OctopusMessage) {
// ping info
statusRes = status.Ping()
} else {
// status info
// metric info
agentStatusString, _ := json.Marshal(status.ReportAppStatus())
statusRes = string(agentStatusString)
}