Open fredleger opened 7 years ago
Actually seems as easy as adding this to the message sent :
"color": "#36a64f", // Can either be one of 'good', 'warning', 'danger', or any hex color code
cool idea! will release next
Actually i had to implement it somewhere else, and there is more than just setting color, it must be an attachement. See here for reference : https://api.slack.com/docs/message-attachments
+1 This would be useful for alerting (green) when a service becomes healthy again.
Might be a feature interesting.
We are using New Relic alerts to forward alerts in our slack channels and they do add colors next to the messages send (see below) to illustrate the type of event. I think this will be nice in rancher-alarms as weel if not a big feature to add.