From 81c63f035e109f105599ac75a9082249c28952df Mon Sep 17 00:00:00 2001 From: Hamid Emamian Date: Wed, 8 Nov 2023 22:20:07 +0300 Subject: [PATCH] updated alert --- scripts/preemptible_checker/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/preemptible_checker/main.py b/scripts/preemptible_checker/main.py index 4b85b85df..033e87eed 100644 --- a/scripts/preemptible_checker/main.py +++ b/scripts/preemptible_checker/main.py @@ -17,12 +17,12 @@ def send_alert(alertname, severity, message): "labels": { "domain": "parity-zombienet", "alertname": alertname, - "severity": severity + "severity": severity, + "matrix_room": "QMnmZxkvuvLckXBUtz" }, "annotations": { "message": f"{message}" - }, - "generatorURL": "https://grafana.parity-mgmt.parity.io/" + } } ] response = requests.post(url, headers=headers, json=payload)