[ server ] [ status ]- update some code - 1

This commit is contained in:
zeaslity
2023-02-03 11:30:20 +08:00
parent 0bd0c9da53
commit fd5f2607b9
12 changed files with 362 additions and 223 deletions

View File

@@ -18,11 +18,9 @@ public enum AgentHealthyStatusEnum {
String status;
String description;
AgentHealthyStatusEnum(String status, String description) {
this.description = description;
this.status = status;

View File

@@ -12,7 +12,7 @@ import lombok.experimental.SuperBuilder;
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 ALL_AGENT_STATUS_REDIS_KEY = "ALL_AGENT_HEALTHY_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";