Skip to content

Commit

Permalink
Remove AM status from title
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantinov-Innokentii committed Nov 17, 2024
1 parent 208db9c commit be52111
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 be52111

Please sign in to comment.