Remove AM status from title (#5261)
This commit is contained in:
parent
67604c6902
commit
1b4cca9d03
2 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ web_title = """\
|
||||||
{% set alertname = groupLabels.pop("alertname", "") -%}
|
{% set alertname = groupLabels.pop("alertname", "") -%}
|
||||||
{% endif -%}
|
{% 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
|
""" # noqa
|
||||||
|
|
||||||
web_message = """\
|
web_message = """\
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ web_title = """\
|
||||||
{% set alertname = groupLabels.pop("alertname", "") -%}
|
{% set alertname = groupLabels.pop("alertname", "") -%}
|
||||||
{% endif -%}
|
{% 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
|
""" # noqa
|
||||||
|
|
||||||
web_message = """\
|
web_message = """\
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue