Skip to content

Commit

Permalink
Remove AM status from title (#5261)
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantinov-Innokentii authored Nov 22, 2024
1 parent 67604c6 commit 1b4cca9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engine/config_integrations/alertmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
{% set alertname = groupLabels.pop("alertname", "") -%}
{% endif -%}
[{{ payload.status }}{% if payload.status == 'firing' and payload.numFiring %}:{{ payload.numFiring }}{% endif %}] {{ alertname }} {% if groupLabels | length > 0 %}({{ groupLabels.values()|join(", ") }}){% endif %}
{{ alertname }} {% if groupLabels | length > 0 %}({{ groupLabels.values()|join(", ") }}){% endif %}
""" # noqa

web_message = """\
Expand Down
2 changes: 1 addition & 1 deletion engine/config_integrations/grafana_alerting.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{% set alertname = groupLabels.pop("alertname", "") -%}
{% endif -%}
[{{ payload.status }}{% if payload.status == 'firing' and payload.numFiring %}:{{ payload.numFiring }}{% endif %}] {{ alertname }} {% if groupLabels | length > 0 %}({{ groupLabels.values()|join(", ") }}){% endif %}
{{ alertname }} {% if groupLabels | length > 0 %}({{ groupLabels.values()|join(", ") }}){% endif %}
""" # noqa

web_message = """\
Expand Down

0 comments on commit 1b4cca9

Please sign in to comment.