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
Add Sentry support #210
Comments
+1 . good idea |
+1 I'd definitely use the Sentry support if it was added. |
I took an initial shot at the setuptools extras/entry_points approach for rollbar and sentry support in my fork. See My general idea was to require any plugin to provide an object (I refer to it as
I created 2 packages to add support for rollbar and sentry, designed to work with the changes I made: django-q-rollbar and django-q-sentry. I modified setup.py to register entry points and define the requirements as extras. Some drawbacks:
Disclaimer: this is my first stab at writing any python code that takes advantages of extras or entry points. I don't do this professionally, and I'd love any feedback. |
👍 Sentry being open source and based on python is an even better fit than roller IMHO |
@danielwelch I have had a look at your code and it looks good. I'm not sure if @Koed00 has a problem with 2 extra files in the repo for the ErrorReporters 😉 |
Any updates on this guys? :) |
I'd be happy to write up some documentation for using this and developing additional implementations, but I never heard if my approach was acceptable. |
@danielwelch it looks like the approach is acceptable, as @Eagllus is a contributor and seems to have given his approval. @Koed00 maybe you could confirm for us whether this approach would be acceptable? |
@jordanmkoncz Since there still seems to be some interest, I went ahead an added some documentation and submitted a pull request #261. I've also added documentation for my two proposed implementations for sentry and rollbar. |
Appreciate the effort @danielwelch, hopefully someone can review and approve the pull request. :) |
Can we close this issue because #261 has been merged? |
I see Rollbar is built in. Could you add support for Sentry too?
Alternatively, you could pull out Rollbar into its own
django-q-rollbar
repo (and perhaps use extras so someone can adddjango-q[rollbar]
to theirrequirements.txt
), and expose a generic error handling interface so others can add their own.Really enjoying this project btw 😄
The text was updated successfully, but these errors were encountered: