scoutapp / scout_apm_ruby

ScoutAPM Ruby Agent. Supports Rails, Sinatra, Grape, Rack, and many other frameworks

Home Page:https://scoutapm.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stack level too deep with sentry gem

doutatsu opened this issue · comments

image

Looking into both gems, I presume the issue is that sentry uses request method here and scout also has the same method, with alias for request_with_scout_instruments here. Changing the order doesn't do anything, so I am unable to use Scout at all, which is a huge issue

I've found use_prepend configuration, which I thought was a default, based on reading through the comments. With it enabled, the problem went away, so all is good