alertmanager/notify
Jeff Wong 95655dccb8
Discord notifier: Add username and avatar_url (#4081)
* Feat(discord):

Allow for custom username and avatar URLs to be set in discord notifications.

Add `username` and `avatar_url` to discord configuration, default empty string.

Re-implement #3821

Signed-off-by: Jeff Wong <awole20@gmail.com>

* Test the new fields

Signed-off-by: gotjosh <josue.abreu@gmail.com>

* These are not templeatable strings

Signed-off-by: gotjosh <josue.abreu@gmail.com>

---------

Signed-off-by: Jeff Wong <awole20@gmail.com>
Signed-off-by: gotjosh <josue.abreu@gmail.com>
Co-authored-by: gotjosh <josue.abreu@gmail.com>
2024-10-24 21:12:05 +01:00
..
discord Discord notifier: Add username and avatar_url (#4081) 2024-10-24 21:12:05 +01:00
email fix: close SMTP submission correctly to handle errors (#4006) 2024-08-30 15:17:15 +01:00
jira chore: refactor the JIRA notifier 2024-08-01 15:35:12 +02:00
msteams feat: implement webhook_url_file for discord and msteams (#3555) 2024-02-07 10:33:46 +00:00
msteamsv2 feat(3920): add msteamsv2 receiver (#4024) 2024-10-23 11:31:27 +01:00
opsgenie golangci-lint: enable testifylint linter 2023-12-10 08:50:03 +00:00
pagerduty use Go standard errors 2023-12-08 16:44:13 +01:00
pushover Add missing ttl in pushhover (#3474) 2023-08-31 17:35:04 +02:00
rocketchat feat: add rocketchat notifier (#3600) 2024-10-23 15:38:22 +01:00
slack golangci-lint: enable testifylint linter 2023-12-10 08:50:03 +00:00
sns Return error when TmplText errors in sns notifier (#3879) 2024-06-17 09:44:11 +01:00
telegram fix(telegram): passing ParseMode when sending message (#4027) 2024-10-23 16:47:13 +01:00
test feat: add template.FromGlobsWithAdditionalFuncs (#3174) 2022-12-16 10:13:13 -04:00
victorops use Go standard errors 2023-12-08 16:44:13 +01:00
webex allow webex roomID from template (#3801) 2024-05-30 14:20:38 +01:00
webhook notify/webhook: Fix crash on errors when url_file is used (#3798) (#3800) 2024-04-12 11:28:59 +02:00
wechat use Go standard errors 2023-12-08 16:44:13 +01:00
notify.go feat: add rocketchat notifier (#3600) 2024-10-23 15:38:22 +01:00
notify_test.go Remove Id return from silences.Set(*pb.Silence) 2024-06-20 15:47:49 +01:00
util.go Add godot linter (#3613) 2024-03-21 11:26:46 +00:00
util_test.go Use the new truncation in bytes functions to ensure strings are not butchered 2022-11-11 15:15:09 +00:00