Skip to content

Stack level too deep errors on 7.0.0+ #731

Open
@tannalynn

Description

@tannalynn

If you are experiencing a stack level too deep error after upgrading to 7.0+ of the ruby agent, check out our troubleshooting guide on resolving the issue in your application.

Report a New Conflict

The ruby agent is able to automatically install compatible instrumentation when certain gems are detected in the application that are known to cause a conflict with the agents use of Module#prepend.

To report a conflict to be added to the agent detection when automatically installing instrumentation, please provide the following after configuring the agent by following the troubleshooting guide

  1. which agent configuration option was used to install the compatible instrumentation (Ex. instrumentation.net_http: prepend)
  2. the gem (and version) that is conflicting with the agent. This would be the non-agent location in the stack trace that is part of the recursion. (Ex. /Users/user/.rvm/gems/ruby-2.6.5/gems/airbrake-10.0.1/lib/airbrake/rails/net_http.rb:11 or Airbrake v10.0.1)

Gems Known to Cause Prepend Conflicts (auto-detected in latest release v7.2.0)

Net::HTTP

  • Airbrake < 10.0.2
  • ScoutApm
  • Rack::MiniProfiler

Redis

  • PrometheusExporter

Resque

  • Airbrake < 11.0.3

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