Alerting: Adding color option for slack receiver (#99615)

This commit is contained in:
Garret Wyman
2025-01-30 00:12:16 +02:00
committed by GitHub
parent b820fd6bef
commit cf177776bf
11 changed files with 22 additions and 10 deletions
@@ -479,6 +479,7 @@ The following sections detail the supported settings and secure settings for eac
| mentionGroups | |
| mentionChannel | |
| token | yes |
| color | |
#### Alert notification `victorops`
@@ -511,6 +511,8 @@ settings:
# <string>
endpointUrl: https://custom_url/api/chat.postMessage
# <string>
color: {{ if eq .Status "firing" }}#D63232{{ else }}#36a64f{{ end }}
# <string>
title: |
{{ template "slack.default.title" . }}
text: |