You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please link to the documentation for this feature? I have been finding the updated documentation for the new library frustratingly scant in its cross linkings, and laking in details that the older, mature raven library's documentation did contain.
Concretely we eventually want to use the same syntax for ignore_errors that you can use in the project settings on sentry.io, such that it works the same everywhere.
Reacted by Raúl Negrón-Otero and Anton Pirker
Reacted by Caleb Collins-Parks, Doug Wormhoudt, Wu Haotian, vonmaster, Juan Manuel Barreneche, Cảnh Nguyễn and Mate Pager
I understand the urge to centralize an inherently scattered feature - integration with every framework/library requires a custom blob of code to extract the configuration correctly - but I strongly disagree with what sounds like a decision to drop probably the most basic necessary feature beyond "does it work" in an error reporting/monitoring framework.
Asking someone to write their own code to handle this particular issue is silly. This is an error reporting platform. The literal first thing we encountered was "oh, error X is garbage and for Capital-R Reasons we can't disable or squash it, but we don't want that particular one spamming us, how do I disable it..." This cannot possibly be an edge case.
The above should be sufficient reason to stabilize the feature, but if its not...
This is an error reporting and monitoring framework. If I can't block a thing at its source - because sometimes its just not possible to block a thing in the Sentry website's UI because it varies just slightly too much - then cannot use the service to monitor my servers. Too many false negatives. I'm going elsewhere.
Reacted by Caleb Collins-Parks, Garrett Reynolds, cristian, Christian Idylle, Jan D., José L. Patiño Andrés, Andy Brody, vonmaster, Cảnh Nguyễn and Mate Pager
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
In the old Python SDK (called Raven) there was a option ignore_errors where one could give a list of error classes to init() that should not be sent to Sentry.
In the new Python SDK (called sentry-python) the option ignore_errors does NOT exit.
In the new Python SDK you can specify a before_send callback where you can filter out events. So filtering by error class is now done like this:
Activity
eth3lbert commentedon Oct 25, 2018
There is a
ignore_errorsoptions.biblicabeebli commentedon Oct 25, 2018
Could you please link to the documentation for this feature? I have been finding the updated documentation for the new library frustratingly scant in its cross linkings, and laking in details that the older, mature raven library's documentation did contain.
untitaker commentedon Oct 25, 2018
@biblicabeebli we will add this. I'll keep this issue open as reminder
[-]provide a mechanism for suppressing certain types of errors by class name[/-][+]document ignore_errors[/+]untitaker commentedon Oct 29, 2018
@biblicabeebli FWIW we decided not to stabilize
ignore_errorsfor now, in the sense that you can still use it right now but we want to encourage people to usebefore_sendfor this instead: https://docs.sentry.io/learn/filtering/?platform=python#before-sendConcretely we eventually want to use the same syntax for
ignore_errorsthat you can use in the project settings on sentry.io, such that it works the same everywhere.biblicabeebli commentedon Oct 30, 2018
I understand the urge to centralize an inherently scattered feature - integration with every framework/library requires a custom blob of code to extract the configuration correctly - but I strongly disagree with what sounds like a decision to drop probably the most basic necessary feature beyond "does it work" in an error reporting/monitoring framework.
Asking someone to write their own code to handle this particular issue is silly. This is an error reporting platform. The literal first thing we encountered was "oh, error X is garbage and for Capital-R Reasons we can't disable or squash it, but we don't want that particular one spamming us, how do I disable it..." This cannot possibly be an edge case.
The above should be sufficient reason to stabilize the feature, but if its not...
This is an error reporting and monitoring framework. If I can't block a thing at its source - because sometimes its just not possible to block a thing in the Sentry website's UI because it varies just slightly too much - then cannot use the service to monitor my servers. Too many false negatives. I'm going elsewhere.
23 remaining items
sentry: Ignore SystemExit and similar exceptions.
sentry: Ignore SystemExit and similar exceptions.
sentry: Ignore SystemExit and similar exceptions.
gotedkid195 commentedon Apr 1, 2021
untitaker commentedon Apr 1, 2021
@gotedkid195 please read the thread first. your question is answered in it.
gotedkid195 commentedon Apr 1, 2021
@untitaker you mean use
to reslove my issue.
github-actions commentedon Dec 23, 2021
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it
Status: BacklogorStatus: In Progress, I will leave it alone ... forever!"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
antonpirker commentedon Mar 2, 2022
A quick
tl;dr:In the old Python SDK (called Raven) there was a option
ignore_errorswhere one could give a list of error classes toinit()that should not be sent to Sentry.In the new Python SDK (called sentry-python) the option
ignore_errorsdoes NOT exit.In the new Python SDK you can specify a
before_sendcallback where you can filter out events. So filtering by error class is now done like this: