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

Notifications via Sentry? #283

Open
mpasternak opened this issue Jun 27, 2024 · 2 comments
Open

Notifications via Sentry? #283

mpasternak opened this issue Jun 27, 2024 · 2 comments

Comments

@mpasternak
Copy link

Hi, I love your software. It is plain great.

What would you say if I tried to integrate notifications via Sentry to Ofelia?

This would make image bigger because that would require to download a utility called cron-sentry, that would work as a wrapper for the commands ran. If the command gives non-zero exit status, the output is sent to Sentry server. I guess you could do this in plain Go easily (https://docs.sentry.io/platforms/go/), but as I don't know Go...

@taraspos
Copy link
Collaborator

taraspos commented Jun 29, 2024

You could achieve this by configuring fluentd with sentry plugin to read ofelia logs from the local filesystem (see save loging option) or just [bash script, that will watch the folder}https://askubuntu.com/a/460963) and fire sentry-cli

@taraspos
Copy link
Collaborator

What would you say if I tried to integrate notifications via Sentry to Ofelia?

I accept an pure go implementation, but I would be against integrating non-native wrappers.

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

2 participants