[ server ] - monitor all agent status - 2

This commit is contained in:
zeaslity
2023-01-11 10:52:01 +08:00
parent b7958f5c78
commit 1b17a5cf44
10 changed files with 167 additions and 60 deletions

View File

@@ -11,6 +11,10 @@ import lombok.experimental.SuperBuilder;
@SuperBuilder(toBuilder = true)
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";
/**
* which kind of status should be return
* short => short time message