mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-07 10:53:18 -05:00
feature: Add Discord webhooks to Alerters #820
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LawMixer on GitHub (Aug 9, 2024).
I do not use Slack unfortunately, but I do use Discord daily - would love to make this a thing!
@mbecker20 commented on GitHub (Aug 9, 2024):
Agreed, slack is good for businesses but not individuals, I have this in my todo. There is also structure to add this and many more inbuilt endpoints.
Additionally, if you know Rust, you can use the starter codebase I made for building Custom Alerters. https://github.com/mbecker20/monitor/tree/main/bin/alerter.
Once you have the Alert in code you can do whatever you want with it.
@mbecker20 commented on GitHub (Aug 9, 2024):
You can also use Vector (https://vector.dev/) as Custom Alerter endpoint
See https://vector.dev/docs/reference/configuration/sources/http_server/
Then you can route alerts to any of the Vector Sinks here: https://vector.dev/docs/reference/configuration/sinks/
You can consider a logging stack like Grafana / Loki / Tempo, or VictoriaLogs stack, to send all logs / alerts to. Then route what you want to your messaging like Discord from there. This is more scalable setup and kind of fun to set up if you are into this. You can set up all the containers with Monitor too
@TomKauffeld commented on GitHub (Sep 8, 2024):
While Discord is not implemented, you can already send notifications to a Channel using Discord Slack-Compatible Webhook:
/slackat the end