Alert formatting and swap threshold
This commit is contained in:
@@ -15,9 +15,11 @@ receivers:
|
||||
chat_id: -1003779247128
|
||||
message: |-
|
||||
{{ range .Alerts }}
|
||||
*{{ .Labels.alertname }}* ({{ .Labels.severity }})
|
||||
{{ if eq .Labels.severity "critical" }}🔴{{ else }}⚠️{{ end }} *{{ .Labels.alertname }}* ({{ .Labels.severity }})
|
||||
{{ .Annotations.summary }}
|
||||
{{ .Annotations.description }}
|
||||
Instance: {{ .Labels.instance }}
|
||||
Details: {{ .GeneratorURL }}
|
||||
{{ end }}
|
||||
parse_mode: Markdown
|
||||
disable_notifications: false
|
||||
|
||||
Reference in New Issue
Block a user