From 24f003f019d16e8b311427a5f53ddb18605dc7a1 Mon Sep 17 00:00:00 2001 From: Tal Date: Mon, 25 Nov 2024 14:58:55 +0200 Subject: [PATCH] fix(grafana): resolved status (#2630) --- keep/providers/grafana_provider/grafana_provider.py | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/keep/providers/grafana_provider/grafana_provider.py b/keep/providers/grafana_provider/grafana_provider.py index 703fac575..56b3c7415 100644 --- a/keep/providers/grafana_provider/grafana_provider.py +++ b/keep/providers/grafana_provider/grafana_provider.py @@ -89,6 +89,7 @@ class GrafanaProvider(BaseProvider): # https://grafana.com/docs/grafana/latest/alerting/manage-notifications/view-state-health/#alert-instance-state STATUS_MAP = { "ok": AlertStatus.RESOLVED, + "resolved": AlertStatus.RESOLVED, "normal": AlertStatus.RESOLVED, "paused": AlertStatus.SUPPRESSED, "alerting": AlertStatus.FIRING, diff --git a/pyproject.toml b/pyproject.toml index 1950a35f4..6916093f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "keep" -version = "0.30.0" +version = "0.30.1" description = "Alerting. for developers, by developers." authors = ["Keep Alerting LTD"] packages = [{include = "keep"}]