Skip to content

Add support for silencing backtraces #7

Description

@jcreixell

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions