From 0cfb90d690a9845e3ba6bbfe5be216f1f2ee2e2f Mon Sep 17 00:00:00 2001 From: gaoxihui Date: Tue, 14 Nov 2023 14:09:14 +0800 Subject: [PATCH] divide basic alarm metric by group --- .../java/com/xiaomi/mone/monitor/bo/AlarmPresetMetrics.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ozhera-monitor/ozhera-monitor-service/src/main/java/com/xiaomi/mone/monitor/bo/AlarmPresetMetrics.java b/ozhera-monitor/ozhera-monitor-service/src/main/java/com/xiaomi/mone/monitor/bo/AlarmPresetMetrics.java index 1d38c5ee0..78c07c0da 100644 --- a/ozhera-monitor/ozhera-monitor-service/src/main/java/com/xiaomi/mone/monitor/bo/AlarmPresetMetrics.java +++ b/ozhera-monitor/ozhera-monitor-service/src/main/java/com/xiaomi/mone/monitor/bo/AlarmPresetMetrics.java @@ -27,7 +27,7 @@ public enum AlarmPresetMetrics { k8s_mem_resource_use_rate("k8s_mem_resource_use_rate","k8s容器内存资源利用率(1d)", MetricsUnit.UNIT_PERCENT, SendAlertGroupKey.APP_INSTANCE, AlarmStrategyType.SYSTEM,InterfaceMetricTypes.container, BasicUrlType.cn_grafana_ip_1d, "11"), k8s_cpu_avg_use_rate("k8s_cpu_avg_use_rate","k8s容器CPU平均使用率", MetricsUnit.UNIT_PERCENT, SendAlertGroupKey.APP_INSTANCE, AlarmStrategyType.SYSTEM,InterfaceMetricTypes.container, BasicUrlType.cn_grafana_ip_1d, "2"), -// k8s_pod_restart_times("k8s_pod_restart_times","k8s-POD重启", MetricsUnit.UNIT_COUNT, SendAlertGroupKey.APP_INSTANCE, AlarmStrategyType.SYSTEM,InterfaceMetricTypes.basic, true,BasicUrlType.cn_grafana_ip_1d, "2"), + k8s_pod_restart_times("k8s_pod_restart_times","k8s-POD重启", MetricsUnit.UNIT_COUNT, SendAlertGroupKey.APP_INSTANCE, AlarmStrategyType.SYSTEM,InterfaceMetricTypes.basic, true,BasicUrlType.cn_grafana_ip_1d, "2"), /** * jvm指标