From fbce4c125c46d0ae7c47a8b68ecf796da89b53db Mon Sep 17 00:00:00 2001 From: dijiachen Date: Wed, 11 Dec 2024 17:52:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E5=A2=9E=20gcs-mysql=20?= =?UTF-8?q?=E6=85=A2=E6=9F=A5=E8=AF=A2=E9=98=88=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../misc/monitoring/monitor/alert_rules/config/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apiserver/paasng/paasng/misc/monitoring/monitor/alert_rules/config/constants.py b/apiserver/paasng/paasng/misc/monitoring/monitor/alert_rules/config/constants.py index d76d4dc558..71034781d3 100644 --- a/apiserver/paasng/paasng/misc/monitoring/monitor/alert_rules/config/constants.py +++ b/apiserver/paasng/paasng/misc/monitoring/monitor/alert_rules/config/constants.py @@ -62,6 +62,6 @@ AlertCode.GCS_MYSQL_SLOW_QUERY.value: { "display_name": _("GCS-MySQL 慢查询新增"), "metric_label_names": ["gcs_mysql_user"], - "threshold_expr": "> 0", # 慢查询增长超过 0 + "threshold_expr": "> 5", # 慢查询增长超过 5 }, }