From 63fdffe8c0c5cf4a8296680eb9a19492ad3d29f0 Mon Sep 17 00:00:00 2001 From: Andrey Kaipov Date: Wed, 7 Nov 2018 21:57:58 -0500 Subject: [PATCH] Fixes #13993 - adds more options for Slack notifications --- pkg/services/alerting/notifiers/slack.go | 51 +++++++++++++++++++ pkg/services/alerting/notifiers/slack_test.go | 11 +++- 2 files changed, 61 insertions(+), 1 deletion(-) diff --git a/pkg/services/alerting/notifiers/slack.go b/pkg/services/alerting/notifiers/slack.go index 374b49ea957..ca5f47a322f 100644 --- a/pkg/services/alerting/notifiers/slack.go +++ b/pkg/services/alerting/notifiers/slack.go @@ -39,6 +39,39 @@ func init() { Override default channel or user, use #channel-name or @username +
+ Username + + + + Set the username for the bot's message + +
+
+ Icon emoji + + + + Provide an emoji to use as the icon for the bot's message. Overrides the icon URL + +
+
+ Icon URL + + + + Provide a URL to an image to use as the icon for the bot's message + +
Mention