Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

🥅 Dead simple webhook worker for Sentry to output events in a Discord channel

License

Notifications You must be signed in to change notification settings

AugustArchive/sentry-webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🥅 Sentry Webhook

Dead simple webhook worker for Sentry to output events in a Discord channel

Why?

This is just a simple Rust HTTP service to do so, this is just for my use case and no one else. :)

Installation

You just need Rust, the version I am using (at the time of writing this is):

$ rustc --version
# rustc 1.61.0-nightly (1eb72580d 2022-03-08)
$ git clone https://github.com/auguwu/sentry-webhook
$ cargo build --release
$ ./target/release/sentry_webhook

Docker

You can use the Docker image from the GitHub Container Registry:

$ docker run -d -p 3939:3939 --name sentry-worker -v /path/to/config.toml:/app/noel/sentry/worker/config.toml ghcr.io/auguwu/sentry-worker:latest # or prepend a version :>

How to use?

If you are using the worker, then you will need to create a developer app from the Sentry dashboard under Settings > Developer Settings > New Internal Integration

At the moment, we didn't include issue.create, issue.delete, or issue.update events; only error.create events will pop up but error events will only open up if you're running a self-hosted instance of Sentry or have a Business Plan. If you wish to contribute for issue events, submit a PR!

Example Events

Error Created

License

sentry-webhook is released under the Apache 2.0 License by Noel.

About

🥅 Dead simple webhook worker for Sentry to output events in a Discord channel

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published