In alertmanager, I set slack and mail on the receiver and compared how they look.
The results are as follows.
3alerts for
[2] Firing
alert1
alert2
[1] Resolved
alert3
slack
[FIRING:2]
alert1
alert3 ★
alert2
As you can see, the client cannot confirm that alert3 has become RESOLVED. What configuration files are needed to configure slack notifications in the same way as email notifications?
The current settings are as follows.
config.yml
send_resolved: true
text: |-
<!channel>
{{ range .Alerts }}
*Alert:* {{ .Labels.alertname }} - `{{ .Labels.severity }}`
*Summary:* {{ .Annotations.summary }}
*Description:* {{ .Annotations.description }}
*Details:*
{{ range .Labels.SortedPairs }} • *{{ .Name }}:* `{{ .Value }}`
{{ end }}
{{ end }}
We look forward to your answer.