Skip to content

Discord Global Integration or Slack Webhook Global Integration #10925

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

Closed
nepeat opened this issue Dec 5, 2018 · 52 comments
Closed

Discord Global Integration or Slack Webhook Global Integration #10925

nepeat opened this issue Dec 5, 2018 · 52 comments

Comments

@nepeat
Copy link

nepeat commented Dec 5, 2018

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

@nepeat nepeat changed the title Discord Global Integration or Slack Webhook Global Integration [Feature Request] Discord Global Integration or Slack Webhook Global Integration Dec 5, 2018
@evanpurkhiser evanpurkhiser changed the title [Feature Request] Discord Global Integration or Slack Webhook Global Integration Discord Global Integration or Slack Webhook Global Integration Jan 18, 2019
@evanpurkhiser
Copy link
Member

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.

@elderlabs
Copy link

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

@nepeat
Copy link
Author

nepeat commented Apr 28, 2020

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.

  1. Adding an integration for native Discord webhooks.
  2. Re adding Slack webhooks to the Slack integration to support workgroups that do not wish to use Slack apps or have similar chat services that support Slack webhooks.

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.

@rdvo
Copy link

rdvo commented Apr 30, 2020

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

@jacc
Copy link

jacc commented May 1, 2020

+1 on this, if possible it would be appreciated.

@StoneSet
Copy link

StoneSet commented May 4, 2020

+1, good idea !

@vitormm
Copy link

vitormm commented May 11, 2020

+1, it would be great!

@scrlkx
Copy link

scrlkx commented May 12, 2020

+1, we need it.

@arjunbazinga
Copy link

+1 Would love this

@Russia9
Copy link

Russia9 commented May 15, 2020

+1, good!

@SebastianGiro
Copy link

SebastianGiro commented May 18, 2020

+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

@elderlabs
Copy link

elderlabs commented May 20, 2020

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!

@SebastianGiro
Copy link

SebastianGiro commented May 20, 2020

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

@evanpurkhiser
Copy link
Member

+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)

@dkotama
Copy link

dkotama commented Jun 2, 2020

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/

Screen Shot 2020-06-02 at 14 51 38

@victornpb
Copy link

victornpb commented Jun 29, 2020

How to add discord webhook to sentry

  1. Visit this hidden page
    https://sentry.io/settings/PROJECT_NAME/plugins/slack/

  2. Enable the plugin
    image

  3. Add to project
    Add to project

  4. Configure webhook
    Configuring webhook

  5. Click Test

  6. Now enable an Alert rule to your project
    Navigate to https://sentry.io/settings/ORG/projects/PROJECT/alerts/

@noisyblue
Copy link

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.

@elderlabs
Copy link

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.

@noisyblue updated my post to reflect your correction. Thank you.

@nemoralis
Copy link

+1

@HunterInSpace
Copy link

Discord Webhook Integration would be awesome; +1

@ooo27
Copy link

ooo27 commented Mar 10, 2021

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}"

@elderlabs
Copy link

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.

@ooo27
Copy link

ooo27 commented Mar 14, 2021

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!

@krokovicsmate
Copy link

Hi all!

  1. Our company just moved to discord from slack, and we love the slack integration and we are really missing the features of it.
  2. PHP projects, mostly CMS, CRM and Webshop systems.
  3. The most missing part of it the mention system, we configured the integration to mention a person who is leading the project.
  4. Missing options, only the default layout of messages available.
  5. The mention sytem :)

@irfanfadilah
Copy link

Whoa, it's been more than 4 years and still no native integration for Discord.

@joaofraga
Copy link

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.

@igl
Copy link

igl commented May 17, 2023

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.

@ryantam626
Copy link

Just for more visbility - #50623 (comment) indicates that Discord integration work has already been started 🎉

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).

@getsantry
Copy link
Contributor

getsantry bot commented Jul 28, 2023

Routing to @getsentry/product-owners-settings-integrations for triage ⏲️

@crabsinger
Copy link

+1 would like this

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 Aug 8, 2023
@getsantry getsantry bot removed the status in GitHub Issues with 👀 Aug 8, 2023
@spalmurray
Copy link
Contributor

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

@braincomb
Copy link

@spalmurray very excited to try this!

@spalmurray
Copy link
Contributor

The Discord integration is now available to orgs that have signed up for early access. If you haven’t signed up yet, you can do that now and we’ll add you to our early access program next week.

@17hogeju
Copy link
Contributor

🎉 The Discord integration is officially out!!! 🎉
Issue and Metric alerts can now be sent to Discord! Check out the changelog here

Check out the setup instructions on our new Discord Sentry Doc

If you have any questions or feedback, please get in touch with us on our Discord server in the #discord-integration channel.

Thank you for bringing this integration into life! ❤️

Julia from Sentry

@github-actions github-actions bot locked and limited conversation to collaborators Nov 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests