From 1eca7767fefefc35eb8fd6eb6d8bc7eec905fa6c Mon Sep 17 00:00:00 2001
From: Pierre Krieger <pierre.krieger1708@gmail.com>
Date: Tue, 22 Jun 2021 18:11:42 +0200
Subject: [PATCH] Add `substrate-rpc-subscription` to exceptions in alert
 (#9172)

---
 .../.maintain/monitoring/alerting-rules/alerting-rules.yaml     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/substrate/.maintain/monitoring/alerting-rules/alerting-rules.yaml b/substrate/.maintain/monitoring/alerting-rules/alerting-rules.yaml
index bc3243d732b..a3aa1b145b3 100644
--- a/substrate/.maintain/monitoring/alerting-rules/alerting-rules.yaml
+++ b/substrate/.maintain/monitoring/alerting-rules/alerting-rules.yaml
@@ -134,7 +134,7 @@ groups:
   ##############################################################################
 
   - alert: ContinuousTaskEnded
-    expr: '(polkadot_tasks_spawned_total{task_name != "basic-authorship-proposer"} == 1)
+    expr: '(polkadot_tasks_spawned_total{task_name != "basic-authorship-proposer", task_name != "substrate-rpc-subscription"} == 1)
         - on(instance, task_name) group_left() (polkadot_tasks_ended_total == 1)'
     for: 5m
     labels:
-- 
GitLab