New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alerting: Add support for configuring avatar URL for the Discord notifier #33355
Conversation
46c70a5
to
39b6e4a
Compare
@marefr let me know if you'd prefer any other optional config to be exposed in this PR, happy to expand the scope if required. |
@ChipWolf thanks. We should be able to accept this. Just have to check a few things internally before coming back to reviewing this one. Until then there's some missing documentation for the Discord notifier if you're interested: |
@ChipWolf we're currently in a migration phase why there are two instances of the discord notifier. May I ask you to sync with main branch and implement your changes in this file as well? https://github.com/grafana/grafana/blob/main/pkg/services/ngalert/notifier/channels/discord.go Mentioned documentation would be a really good thing to have. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See earlier comments
e19b348
to
df20883
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some copy edit suggestions.
Thanks for reminding me my English scholarship from childhood aged like milk @achatterjee-grafana 😄 |
You were concentrating on the technical details, no worries :) |
This PR needs a milestone. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@codesome thanks, let me know if there's anything else |
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you for contributing to Grafana! Suggested for this to be backported to v8.0.x branch so that it will be included in v8.0. In normal cases I would have waited with this until 8.1, but given there's a lot of changes happening around alerting for v8.0 I thought v8.0.x is more appropriate. |
What this PR does / why we need it: Similar to the Slack alert options, this exposes an avatar URL field for Discord alerts.