[monitor] 设计参数定义参数值表结构及相应实体

This commit is contained in:
tomsun28
2021-11-13 22:36:22 +08:00
parent 0760a6d5f9
commit 2284621527
6 changed files with 176 additions and 20 deletions

View File

@@ -38,7 +38,7 @@ public class Job {
/**
* 监控ID 应用ID
*/
private long appId;
private long monitorId;
/**
* 监控的类型 eg: linux | mysql | jvm
*/
@@ -143,7 +143,7 @@ public class Job {
}
if (!metricsSet.remove(metrics)) {
log.error("Job {} appId {} app {} metrics {} remove empty error in priorMetrics.",
id, appId, app, metrics.getName());
id, monitorId, app, metrics.getName());
}
if (metricsSet.isEmpty()) {
priorMetrics.remove(0);