sentry-telegram icon indicating copy to clipboard operation
sentry-telegram copied to clipboard

Doesnt work on 22.7.0.dev0

Open 50l3r opened this issue 2 years ago • 9 comments

Versión: 0.4.0 Sentry Version: 22.7.0.dev0

I install & setup Legacy Integration with specific token & chatid but when i try to do a test it doesnt send message.

50l3r avatar Jul 05 '22 17:07 50l3r

This repo is abandoned. Use this fork: https://github.com/vortland/sentry-telegram

Olegt0rr avatar Jul 06 '22 20:07 Olegt0rr

Much thanks. This repo works :)

50l3r avatar Jul 07 '22 10:07 50l3r

I see that test message works but only recieve sentry error via email. Telegram Notifications Python3 its enabled on my sentry project but dont send errors.

50l3r avatar Jul 08 '22 12:07 50l3r

It's worked from https://github.com/FarazFe/sentry-telegram Sentry sent an error to telegram when event is captured

minhhuy1501 avatar Aug 30 '22 10:08 minhhuy1501

It's worked from https://github.com/FarazFe/sentry-telegram Sentry sent an error to telegram when event is captured

Have Sentry 22.10.0. Same error. Test message works, but real errors are ignored. Could anyone fix it?

Elfimova avatar Oct 05 '22 12:10 Elfimova

Seems for different sentry versions it is enough to just perform the following steps: pip install sentry-telegram (or any other updated pip package) docker-compose restart web worker cron sentry-cleanup

For us, however, worked the "true" way of plugins installations and only then all alerts started working correctly: (not only the test notification)

  1. place the archive of the plugin inside the requirements.txt file inside the sentry docker directory, e.g: .../sentry/sentry/requirements.txt: https://github.com/FarazFe/sentry-telegram/archive/refs/tags/0.5.0.zip

Advice taken from here.

  1. Execute steps from official sentry docs and rebuild all containers in docker-compose:

""" sentry/enhance-image.sh—To install plugins and their dependencies or make other modifications to the Sentry base image, copy sentry/enhance-image.example.sh to sentry/enhance-image.sh and add necessary steps there. For example, you can use apt-get to install dependencies and use pip to install plugins. After making modifications to sentry/enhance-image.sh, run ./install.sh again to apply them. """

  1. Proceed with plugin configuration as stated inside this repo. After that notifications should be sent correctly. Don't forget to use updated forks of the plugin depending on your sentry version.

Izerrion avatar Mar 23 '23 18:03 Izerrion

Sentry version: Sentry 24.1.0.dev0

I try add this repo into file sentry/enhance-image.sh:

#!/bin/bash 

pip install sentry-telegram-notification

And i was use Test Plugin in LEGACY INTEGRATIONS successfully, it sent my telegram channel. But when i create error 500 in backend, it didn't send notification to telegram channel, but sentry still receive this error.

ellyx13 avatar Jan 12 '24 05:01 ellyx13

I recommend using webhooks, because this plugin is not actively maintained.

Izerrion avatar Jan 12 '24 12:01 Izerrion