[ server ] - monitor all agent status - 3

This commit is contained in:
zeaslity
2023-01-11 11:43:45 +08:00
parent 1b17a5cf44
commit 1498b3cc0e
9 changed files with 118 additions and 63 deletions

View File

@@ -14,10 +14,13 @@ public class OctopusStatusMessage {
// below two will be used by both server and agent
public static final String ALL_AGENT_STATUS_REDIS_KEY = "ALL_AGENT_STATUS";
public static final String HEALTHY_STATUS_MESSAGE_TYPE = "ping";
public static final String ALL_STATUS_MESSAGE_TYPE = "all";
public static final String METRIC_STATUS_MESSAGE_TYPE = "metric";
public static final String APP_STATUS_MESSAGE_TYPE = "app";
/**
* which kind of status should be return
* short => short time message
* metric => short time message
* all => all agent status message
* healthy => check for healthy
* */