Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/courtsite/sentry-to-discord
[Unmaintained] 🚨 A simple Google Cloud Function in Go to transform / proxy Sentry webhooks to Discord.
https://github.com/courtsite/sentry-to-discord
discord discord-webhook google-cloud google-cloud-functions sentry sentry-integration sentry-webhook
Last synced: about 2 months ago
JSON representation
[Unmaintained] 🚨 A simple Google Cloud Function in Go to transform / proxy Sentry webhooks to Discord.
- Host: GitHub
- URL: https://github.com/courtsite/sentry-to-discord
- Owner: Courtsite
- License: mit
- Created: 2020-12-07T23:55:15.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-07T15:14:52.000Z (over 2 years ago)
- Last Synced: 2024-04-17T17:19:51.512Z (9 months ago)
- Topics: discord, discord-webhook, google-cloud, google-cloud-functions, sentry, sentry-integration, sentry-webhook
- Language: Go
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sentry-to-discord
🚨 A simple Google Cloud Function in Go to transform / proxy Sentry webhooks to Discord.
It is an alternative to using Slack (Legacy) which may not work anymore.
_This project has been tested with the Go 1.13 runtime._
![Webhook in Discord](screenshot.png "Webhook in Discord")
## Getting Started
### Prerequisites
- Ensure you have `gcloud` installed:
- MacOS: `brew cask install google-cloud-sdk`
- Others: https://cloud.google.com/sdk/gcloud
- Ensure you have authenticated with Google Cloud: `gcloud init`
- (Optional) Set your current working project: `gcloud config set project `### Deployment
1. Clone / download a copy of this repository
2. Copy `.env.sample.yaml` to `.env.yaml`, and modify the environment variables declared in the file
3. Run `./deploy.sh`
4. Configure Sentry webhooks integration in `https://sentry.io/settings//plugins/webhooks/`_Be sure to append `?auth_token=` to the end of the URL under `httpsTrigger` (returned in the output from (3)). e.g. https://my-region-my-organisation.cloudfunctions.net/sentry-to-discord?auth_token=123456._
![Webhooks Integration in Sentry](installation.png "Webhooks Integration in Sentry")