[ server ] - agent runtime metric status - both agent side
This commit is contained in:
@@ -14,6 +14,12 @@ import java.util.List;
|
||||
@SuperBuilder(toBuilder = true)
|
||||
public class AgentStatus {
|
||||
|
||||
private static final String AGENT_STATUS_KEY_SUFFIX = "-Status";
|
||||
|
||||
public static String getRedisStatusKey(String agentTopicName) {
|
||||
return agentTopicName+AGENT_STATUS_KEY_SUFFIX;
|
||||
}
|
||||
|
||||
String time;
|
||||
|
||||
String agentName;
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
package io.wdd.common.beans.status;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 没时间整这些,反正大一点数据也无所谓 不是吗
|
||||
*/
|
||||
@Deprecated
|
||||
@Data
|
||||
public class MetricStatus {
|
||||
|
||||
CpuInfo cpuInfo;
|
||||
|
||||
MemoryInfo memoryInfo;
|
||||
|
||||
AppStatusInfo appStatus;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user