From 915688c60fdf386df878e1f00008b5ba67c31555 Mon Sep 17 00:00:00 2001 From: chenguo Date: Wed, 25 Sep 2024 18:09:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E6=8C=87=E6=A0=87=E4=B8=8A=E6=8A=A5=E5=BC=82=E5=B8=B8=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bkmonitor/bkmonitor/utils/send.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bkmonitor/bkmonitor/utils/send.py b/bkmonitor/bkmonitor/utils/send.py index 50ef87f58f..8b5d702529 100644 --- a/bkmonitor/bkmonitor/utils/send.py +++ b/bkmonitor/bkmonitor/utils/send.py @@ -266,7 +266,7 @@ def send(self, notice_way: str, notice_receivers: list, action_plugin=ActionPlug if succeed_count: metrics.ACTION_NOTICE_API_CALL_COUNT.labels( notice_way=notice_way, status=metrics.StatusEnum.SUCCESS - ).inc(failed_count) + ).inc(succeed_count) return notice_results