Closed nepeat closed 1 year ago
We've moved away from using Slack webhooks as they lacked a lot of flexibility which the (unfortunately now deprecated) workspace tokens provided us.
We don't currently have any plans to provide the webhook Slack interface through any integrations.
I believe there's been a bit of miscommunication/confusion here. The request is to add Discord webhook integration, which is identical to the now deprecated legacy Slack webhook. This is not asking to use anything related to Slack whatsoever. More here: getsentry/sentry-plugins/#249
Correct. At the time I did not realize that the legacy Slack webhook settings were hidden behind the search menu and I made a issue that is definitely unclear now. As the issue's original text stands, I should have split it down to two separate issues.
I am more interested in the first, like the majority of users but I recognize that the second case is also a thing that would be nice with the potential for future services that implement the Slack hooks API.
I too want this integration to my Discord. I saw a prior thread mentioned using the Slack (Legacy) integration and modifying the URL's for discord as a work around, but i know longer see that in the integrations search results
Thanks
+1 on this, if possible it would be appreciated.
+1, good idea !
+1, it would be great!
+1, we need it.
+1 Would love this
+1, good!
+1 We need this integration, the webhook plugin is not working correctly with discord and the slack legacy plugin (that we can use for discord) is not in the list anymore. Can you recheck this issue please? @EvanPurkhiser
I should have dropped a note here a few days ago. Sorry folks π
You can still use the old Slack Legacy Webhook Integration, but it's hidden. You can find it by navigating to your team/project's settings page and appending /plugins/slack/
to the URL.
Example: https://sentry.io/settings/ORG_ID/projects/PROJECT_NAME/plugins/slack/
From there, you configure the Webhook URL provided from your desired Discord Channel with /slack
appended to the end of the URL.
Example: https://canary.discord.com/api/webhooks/###channel-id-here###/###elaborate-webhook-key-here###/slack
I personally have a Bot Name and Tags configured/enabled, but otherwise you should be able to leave the rest of the settings blank.
Don't forget to enable the plugin! Afterwards, it will appear in your integrations as 'Slack (Legacy).'
Enjoy!
I should have dropped a note here a few days ago. Sorry folks π
You can still use the old Slack Legacy Webhook Integration, but it's hidden. You can find it by navigating to your team/project's settings page and appending
/plugins/slack/
to the URL.Example:
https://sentry.io/settings/###my-team-name-or-whatever###/plugins/slack/
From there, you configure the Webhook URL provided from your desired Discord Channel with
/slack
appended to the end of the URL.Example:
https://canary.discord.com/api/webhooks/###channel-id-here###/###elaborate-webhook-key-here###/slack
I personally have a Bot Name and Tags configured/enabled, but otherwise you should be able to leave the rest of the settings blank.
Don't forget to enable the plugin! Afterwards, it will appear in your integrations as 'Slack (Legacy).'
Enjoy!
Amazing, please leave a // NOTE
to never fully remove it, so we can keep using it for discord. Thanks! Working great
+1 We need this integration, the webhook plugin is not working correctly with discord and the slack legacy plugin (that we can use for discord) is not in the list anymore. Can you recheck this issue please? @EvanPurkhiser
I can't speak towards any roadmap on adding Discord, but I do know someone who may be able to!
/cc @jonesphillip to get this on your radar :)
(also I think my comment above may have been my most downvoted comment on github haha)
I should have dropped a note here a few days ago. Sorry folks π You can still use the old Slack Legacy Webhook Integration, but it's hidden. You can find it by navigating to your team/project's settings page and appending
/plugins/slack/
to the URL. Example:https://sentry.io/settings/###my-team-name-or-whatever###/plugins/slack/
From there, you configure the Webhook URL provided from your desired Discord Channel with/slack
appended to the end of the URL. Example:https://canary.discord.com/api/webhooks/###channel-id-here###/###elaborate-webhook-key-here###/slack
I personally have a Bot Name and Tags configured/enabled, but otherwise you should be able to leave the rest of the settings blank. Don't forget to enable the plugin! Afterwards, it will appear in your integrations as 'Slack (Legacy).' Enjoy!Amazing, please leave a
// NOTE
to never fully remove it, so we can keep using it for discord. Thanks! Working great
Thank you, I just want to add that you should enable the rules for legacy notification for each event happened at project via : https://sentry.io/settings/YOUR_TEAM_NAME/projects/YOUR_PROJECTS/alerts/
Visit this hidden page
https://sentry.io/settings/PROJECT_NAME/plugins/slack/
Enable the plugin
Add to project
Configure webhook
Click Test
Now enable an Alert rule to your project Navigate to https://sentry.io/settings/ORG/projects/PROJECT/alerts/
I couldn't access webhook configuration page using https://sentry.io/settings/PROJECT_NAME/plugins/slack/
Instead https://sentry.io/settings/ORG_ID/projects/PROJECT_NAME/plugins/slack/
worked.
I couldn't access webhook configuration page using
https://sentry.io/settings/PROJECT_NAME/plugins/slack/
Insteadhttps://sentry.io/settings/ORG_ID/projects/PROJECT_NAME/plugins/slack/
worked.
@noisyblue updated my post to reflect your correction. Thank you.
+1
Discord Webhook Integration would be awesome; +1
Is this still working? When I click Test Plugin I receive:
"There was an internal error with the Plugin, {\"message\": \"Cannot send an empty message\", \"code\": 50006}"
Is this still working? When I click Test Plugin I receive:
"There was an internal error with the Plugin, {"message": "Cannot send an empty message", "code": 50006}"
Depends on your config, likely there's something misconfigured. This still works.
Is this still working? When I click Test Plugin I receive:
"There was an internal error with the Plugin, {"message": "Cannot send an empty message", "code": 50006}"
Depends on your config, likely there's something misconfigured. This still works.
Indeed it was a configuration error. I neglected to change the endpoint from discord.com to canary.discord.com. Thanks!
I wrote a service to forward Sentry Webhooks to Discord - it adds more information than the Slack compatible one does. I'm still testing its reliability, but if anyone is interested in richer embeds check out https://sentrydiscord.dev (repo)
@IanMitchell This is great! Would love to discuss how we could get involved, I'll reach out.
Yes please!
We will enter 2022 without discord integration? What the!
Any update?
I've been using this service as a workaround -> https://sentrydiscord.dev/.
Any update?
I've been using this service as a workaround -> https://sentrydiscord.dev/.
There are multiple posts here detailing how to natively configure Sentry to work with Discord using the legacy Slack integration. As for something labeled "Discord" in Sentry, no dice as of yet.
Please Sentry, this is a must have feature. It's shame that we need to use some workarounds or hacks to receive notifications on a mainstream platform...
With the new Free tier slack model and the increase of the paid plan on Slack. I am exploring moving to Discord instead of Slack as our company communication app. Sentry Slack integration is really good, would love to have the same on Discord!
+1
+1 DIscord integration would be awesome
+1 Discord integration
We will enter 2022 without discord integration? What the!
We are entering 2023 without Discord integration still.
Hi Folks! Welcome to 2023 :-)
I would love to learn more about Discord so that we can properly think about it -
Thanks for the questions!
Happy to chat about both the limitations of sentrydiscord and what Sentry could do with the Discord API if you'd like! I had a plan for how to convert the service into a bot, but unfortunately time just hasn't allowed it π
Responding to the list, too!
I'd like to see "regular workflow" parts of Sentry implemented within Discord in ways that encourage developers to engage more with it!
Hi Folks! Welcome to 2023 :-)
I would love to learn more about Discord so that we can properly think about it -
- Why do you need discord integration?
- What type of projects/company are you part of?
- If you used Slack+Sentry, what do you like about it? What did you dislike?
- If you used https://sentrydiscord.dev/, what did you like about it? What did you dislike?
- Are there any Discord-specific patterns/capabilities that we should consider?
Hello again, it's been 5 years! Hoping that more traction for a native integration with Discord is coming this year~
Hi all!
Whoa, it's been more than 4 years and still no native integration for Discord.
Why do you need discord integration? It's the main communication channel of my company.
What type of projects/company are you part of? Payments
If you used Slack+Sentry, what do you like about it? What did you dislike? TBH I haven't used Slack integration before.
If you used https://sentrydiscord.dev/, what did you like about it? What did you dislike? It did not work for me, it asks me to add a discord webhook even though I add the correct url.
Are there any Discord-specific patterns/capabilities that we should consider? Simple alerts are enough to me.
Why do you need discord integration? It's the main communication channel of my company.
What type of projects/company are you part of? Development
If you used Slack+Sentry, what do you like about it? What did you dislike? The Slack client has very bad performance (not Sentrys fault)
If you used https://sentrydiscord.dev/, what did you like about it? What did you dislike? It did not work for me.
Are there any Discord-specific patterns/capabilities that we should consider? We need High visibility about new errors appearing after a release. Possiblity to get daily or weekly summaries.
Just for more visbility - https://github.com/getsentry/sentry/pull/50623#issuecomment-1583985056 indicates that Discord integration work has already been started :tada:
I have a branch in my fork that added a stopgap solution that still uses webhook (but the native one) which allows mentioning, just in case this is of interests for folks that self hosts (like me).
Routing to @getsentry/product-owners-settings-integrations for triage β²οΈ
+1 would like this
Hey Everyone,
Weβre excited to announce that the eagerly awaited Discord integration for Sentry is coming soon! π
This integration will allow users to receive and act on notifications about critical issues as they are surfaced by Sentry, directly in Discord.
Issue alerts support will come first with plans to support metric alerts and personal notifications in the future.
You can sign up here to gain early access to the latest functionality and give us input as we build.
If you have any questions or feedback, please get in touch with us on our Discord server in the #discord-integration channel.
Thank you all for advocating for this feature and sharing your use cases with us!
Spencer from Sentry
@spalmurray very excited to try this!
Summary
With the new Global Integrations feature in Sentry, I've tried to adapt my existing setup that uses Discord's Slack compatible webhooks and found that the new Global Integrations feature uses Slack's oAuth API instead of webhook API. I am thinking that either the integration can be expanded to support Slack webhooks or have a separate integration for Discord.
Motivation
This would improve support for Discord, organizations that do not want to use slack apps and other chat apps that have Slack compatible webhook APIs, depending on the implementation.
Additional Context