Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesnt work on 22.7.0.dev0 #49

Closed
50l3r opened this issue Jul 5, 2022 · 9 comments
Closed

Doesnt work on 22.7.0.dev0 #49

50l3r opened this issue Jul 5, 2022 · 9 comments

Comments

@50l3r
Copy link

50l3r commented Jul 5, 2022

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.

@Olegt0rr
Copy link

Olegt0rr commented Jul 6, 2022

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

@50l3r
Copy link
Author

50l3r commented Jul 7, 2022

Much thanks. This repo works :)

@50l3r 50l3r closed this as completed Jul 7, 2022
@50l3r
Copy link
Author

50l3r commented Jul 8, 2022

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 50l3r reopened this Jul 8, 2022
@minhhuy1501
Copy link

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

@Elfimova
Copy link

Elfimova commented Oct 5, 2022

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?

@Izerrion
Copy link

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.

@ellyx13
Copy link

ellyx13 commented Jan 12, 2024

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.

@Izerrion
Copy link

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

@vocolboy
Copy link

Hello guys, I rewrite a new one plugin :)

tested on Sentry 24.2.0 & 24.3.0

https://github.com/tianci-sh/sentry-telegram

@butorov butorov closed this as completed May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants