[Agent] [Status] agent metric accomplish
This commit is contained in:
@@ -174,7 +174,7 @@ func statusOMHandler(octopusMessage *OctopusMessage) {
|
||||
statusRes = status.Ping()
|
||||
} else if strings.HasPrefix(statusMessage.StatusType, "METRIC") {
|
||||
// metric info
|
||||
agentStatusString, _ := json.Marshal(status.ReportAppStatus())
|
||||
agentStatusString, _ := json.Marshal(status.ReportAgentMetric())
|
||||
statusRes = string(agentStatusString)
|
||||
} else if strings.HasPrefix(statusMessage.StatusType, "INFO") {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user