Discord notifier: Add username and avatar_url#4081
Merged
gotjosh merged 4 commits intoprometheus:mainfrom Oct 24, 2024
Merged
Conversation
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 prometheus#3821 Signed-off-by: Jeff Wong <awole20@gmail.com>
7554c16 to
4bfbecb
Compare
Signed-off-by: gotjosh <josue.abreu@gmail.com>
Signed-off-by: gotjosh <josue.abreu@gmail.com>
gotjosh
approved these changes
Oct 24, 2024
tjhop
pushed a commit
to tjhop/alertmanager
that referenced
this pull request
Nov 13, 2025
* 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 prometheus#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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Allow for custom username and avatar URLs to be set in discord notifications.
Add
usernameandavatar_urlto discord configuration, default empty string.Re-introduce the rest of what was proposed in #3821 now that #4007 is merged