mxssl / sentry-to-telegram

This is a simple app to send Sentry alerts to a Telegram group

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sentry-to-telegram

This is a simple app to send Sentry alerts to a Telegram group.

Usage

  1. Create a Telegram bot and get the bot token.
  2. Create a Telegram group and add the bot with permissions to post messages.
  3. Get the chat ID of the group.
  4. Set the environment variables TELEGRAM_BOT_TOKEN and TELEGRAM_GROUP_ID with the bot token and group ID.
  5. Deploy the app and set the Sentry webhook to the app URL.
  6. Done! Now you will receive alerts from Sentry in your Telegram channel.

Example of a docker-compose.yaml file:

version: '3'
services:
  sentry-to-telegram:
    image: mxssl/sentry-to-telegram:v0.0.5
    ports:
      - "9999:9999"
    restart: always
    environment:
      TELEGRAM_BOT_TOKEN: ""
      TELEGRAM_GROUP_ID: ""

About

This is a simple app to send Sentry alerts to a Telegram group


Languages

Language:Go 86.8%Language:Dockerfile 13.2%