Skip to content

Commit

Permalink
fix: add severity to vm (#2690)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahargl authored Nov 28, 2024
1 parent a04e8c1 commit f2640ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ def _format_alert(
description=alert["annotations"]["description"],
message=alert["annotations"]["summary"],
status=VictoriametricsProvider.STATUS_MAP[alert["status"]],
severity=VictoriametricsProvider.SEVERITIES_MAP[
alert.get("labels", {}).get("severity", "info")
],
startedAt=alert["startsAt"],
url=alert["generatorURL"],
source=["victoriametrics"],
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "keep"
version = "0.30.3"
version = "0.30.4"
description = "Alerting. for developers, by developers."
authors = ["Keep Alerting LTD"]
packages = [{include = "keep"}]
Expand Down

0 comments on commit f2640ff

Please sign in to comment.