add monitoring templates
This commit is contained in:
parent
d78d637be1
commit
9a3aeb5103
|
|
@ -30,8 +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