goalert icon indicating copy to clipboard operation
goalert copied to clipboard

Option to Include Alert Details in Slack Messages

Open mastercactapus opened this issue 1 year ago • 1 comments

What problem would you like to solve? Please describe: Currently, messages sent via Slack include only the summary of the alert. The details are frequently useful when responding to incidents and having them directly in the Slack message would make that information more quickly accessible.

Describe the solution you'd like: A new feature that gives users the option to include the details of alerts in Slack messages. Given the concern about potential extra noise in Slack channels, these additional details could be collapsed by default, and possibly remain collapsed once the alert is acknowledged or closed.

Describe alternatives you've considered: Email and Webhook destinations currently include the details field already. However, enhancing this feature for Slack specifically is desirable to improve incident management flow.

Additional context: The code for Slack notifications is under notification/slack/channel.go in the Send method.

mastercactapus avatar Sep 27 '23 19:09 mastercactapus

Not sure if there's a way to add collapsible content, but maybe when sending a first message, we can put the details as a thread reply to keep things from getting noisy in a channel.

mastercactapus avatar Sep 27 '23 19:09 mastercactapus