我在本地的Rails3.2应用程序中使用newrelic_rpm开发人员模式。这工作得很好。
当我安装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'有没有办法找出哪里出了问题?
发布于 2014-03-19 23:19:46
我知道已经有一段时间了,但是我们已经修复了以前阻止ruby-prof在开发者模式下工作的问题,所以你现在应该可以在最新版本的代理(3.7.3和更高版本)中再次使用它。我也会更新那个已知问题的页面。
发布于 2013-06-26 09:52:52
回到3.5.8.72版本,它又可以工作了。只需使用gem "newrelic_rpm", "3.5.8.72"更新您的Gemfile即可。我在上面记录了一个问题。
https://stackoverflow.com/questions/17195319
复制相似问题