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

Add support for silencing backtraces #7

Open
jcreixell opened this issue Feb 9, 2022 · 0 comments
Open

Add support for silencing backtraces #7

jcreixell opened this issue Feb 9, 2022 · 0 comments

Comments

@jcreixell
Copy link

Rails backtraces can be very verbose. This not only leads to noisy traces where it is difficult to find relevant information, but it also interferes with how effectively periskop is able to group exceptions (since it uses a maximum number of backtrace lines for efficiency reasons, see

stacktrace_head = @exception_instance.stacktrace.first(MAX_TRACES).join('')
).

Rails introduced the concept of BacktraceCleaner a while ago, we should probably implement something similar, potentially configurable with some well known instances ready to use. See https://www.rubydoc.info/gems/activesupport/2.3.5/ActiveSupport/BacktraceCleaner for inspiration.

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

1 participant