加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ruby-on-rails – Newrelic开发人员模式不能使用ruby-prof

发布时间:2020-12-16 22:20:12 所属栏目:百科 来源:网络整理
导读:我在rails 3.2应用程序中本地使用newrelic_rpm开发人员模式.这工作正常 当我安装ruby-prof并点击newrelic本地仪表板中的“开始分析”并返回到我的应用程序时,我的应用程序中的每个页面都为#提供了“undefined方法”pop“. 回溯的前几行: newrelic_rpm (3.6.
我在rails 3.2应用程序中本地使用newrelic_rpm开发人员模式.这工作正常

当我安装ruby-prof并点击newrelic本地仪表板中的“开始分析”并返回到我的应用程序时,我的应用程序中的每个页面都为#提供了“undefined方法”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'

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

解决方法

我知道已经有一段时间了,但是我们已经解决了阻止ruby-prof以前在开发人员模式下工作的问题,所以您现在应该可以再次使用最新版本的代理(3.7.3及更高版本) .我也会更新已知的问题页面.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读