Newrelic开发人员模式不使用ruby-prof

Tim*_*ins 10 ruby-on-rails ruby-prof newrelic

newrelic_rpm在rails 3.2应用程序中本地使用开发人员模式.这工作正常.

当我ruby-prof在newrelic本地仪表板中安装并单击"开始分析"并返回到我的应用程序时,我的应用程序中的每个页面都为#提供了"未定义的方法`pop".

追溯的前几行:

newrelic_rpm (3.6.4.122) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:421:in `ensure in perform_action_with_newrelic_profile'
newrelic_rpm (3.6.4.122) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:421:in `perform_action_with_newrelic_profile'
newrelic_rpm (3.6.4.122) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:305:in `perform_action_with_newrelic_trace'
newrelic_rpm (3.6.4.122) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:37:in `process_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
Run Code Online (Sandbox Code Playgroud)

任何想法如何解决出了什么问题?

小智 8

退回到版本3.5.8.72,它再次工作.只需用你的Gemfile更新gem "newrelic_rpm", "3.5.8.72".我已经记录了它们的问题.


gru*_*ler 3

我知道已经有一段时间了,但我们已经修复了之前阻止 ruby​​-prof 在开发人员模式下工作的问题,因此您现在应该能够在最新版本的代理(3.7.3 及更高版本)中再次使用它。我也会更新已知问题页面。