Problem: The ar-octopus gem changes the way ActiveRecord's connection management works, breaking the Ruby agent's ability to gather instance information, apply vendor-specific obfuscation to queries, and capture explain plans for long-running database queries.
Solution: No known workaround. Either remove the ar-octopus
gem, or continue to use it, in which case no explain plans will be captured.