matrix forwarder: give prom and silence emojis too
Eelco Dolstra committed
Nov 22, 2021 at 13:30 UTC
ec70f52ae4e427618d2039ac83f79338702d7709
1 file changed
+3
-3
delft/eris/alertmanager-matrix-forwarder.nix
+3
-3
@@ -71,9 +71,9 @@ in {
71
{{ end }}
72
{{ index .Labels "alertname"}}: {{ index .Annotations "summary"}}
73
(
74
- <a href="{{ index .Annotations "grafana" }}">📈</a>,
75
- <a href="{{ .GeneratorURL }}">source</a>,
76
- <a href="{{ .SilenceURL }}">silence</a>
74
+ <a href="{{ index .Annotations "grafana" }}">📈 Grafana</a>,
75
+ <a href="{{ .GeneratorURL }}">🔥 Prometheus</a>,
76
+ <a href="{{ .SilenceURL }}">🔕 Silence</a>
77
)<br/>
78
{{end -}}'';
79
msg_type = "m.text"; # Must be either `m.text` or `m.notice`