add monitoring templates
This commit is contained in:
parent
53d681e054
commit
1662dbf3a1
|
|
@ -30,7 +30,8 @@ spec:
|
|||
channel: '#monitoring-alerts'
|
||||
iconURL: 'https://avatars3.githubusercontent.com/u/3380462'
|
||||
sendResolved: true
|
||||
title: '[{{ .Status | toUpper }}{{ if eq .Status "firing" }}:{{ .Alerts.Firing | len }}{{ end }}] Monitoring Event Notification'
|
||||
title: |-
|
||||
'[{{ .Status | toUpper }}{{ if eq .Status "firing" }}:{{ .Alerts.Firing | len }}{{ end }}] Monitoring Event Notification'
|
||||
text: >-
|
||||
{{ range .Alerts }}
|
||||
*Alert:* {{ .Annotations.summary }} - `{{ .Labels.severity }}`
|
||||
|
|
|
|||
Loading…
Reference in New Issue