在构建部署期间,我是如何解决heroku服务器上出现的这些侦察apm+rails警告的



e:改为调用DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please callDidYouMean.correct_error(error_name,spell_checker('。远程:I,[2022-09-07T13:32:05.994002#19]信息--:Raven 3.1.2准备捕捉错误remote:[Scott][09/07/22 13:32:06+0000 release.7924(19(]WARN加载仪器异常:remote:[Scott][09/07/22 13:32:06+0000 release.7924(19(]警告:未定义的方法call' for classRedis::Client'远程:remote:alias_method:call_without_scout_instruments,:调用远程:^^^^^^^^^^^^遥控器:你是说?呼叫者远程:[Scott][09/07/22 13:32:06+0000发布。7924(19(]警告:[quot;/app/vendor/bundle/ruby/3.1.0/gems/scout_adm-5.3.1/lib/scout_apm/instructs/redis.rb:40:在安装中的alias_method'", "/app/vendor/bundle/ruby/3.1.0/gems/scout_apm-5.3.1/lib/scout_apm/instruments/redis.rb:40:in块中'quot;,quot;-app/vendor/pundle/rube/3.1.0/gems/skout_apm-5.3.1/lib/scout_apm/instructures/redis.rb:29:inclass_eval'", "/app/vendor/bundle/ruby/3.1.0/gems/scout_apm-5.3.1/lib/scout_apm/instruments/Redis.rb:29:in安装中',quotinstall_instrument'", "/app/vendor/bundle/ruby/3.1.0/gems/scout_apm-5.3.1/lib/scout_apm/instrument_manager.rb:37:in安装!","/app/vendor/bundle/rube/3.1.0/gems/scout_am-5.3.1/lib/scout_apm/agent.rb:41:在类Railtie'中的install'", "/app/vendor/bundle/ruby/3.1.0/gems/scout_apm-5.3.1/lib/scout_apm.rb:223:in块中"app/vvendor/bundle/ruby/3.1.0/gems/railties-6.0.3.6/lib/rrails/initializable.rb:32:ininstance_exec'", "/app/vendor/bundle/ruby/3.1.0/gems/railties-6.0.3.6/lib/rails/initializable.rb:32:inrun"app/vender/bundle/ruby/3.1.0/gems/railties-6.0.3.6/lib/rrails/initializable.rb:61:在tsort_each’中的block in run_initializers'", "/app/vendor/ruby-3.1.2/lib/ruby/3.1.0/tsort.rb:228:in块中"app/vvendor/ruby-3.1.2.lib/ruby/3.1.0/tsort.rb:350:在block (2 levels) in each_strongly_connected_component'", "/app/vendor/ruby-3.1.2/lib/ruby/3.1.0/tsort.rb:431:in中each_strong _connected_component_from'"app/vvendor/ruby-3.1.2.lib/ruby/3.1.0/tsort.rb:349:在CCD_"app/vvendor/ruby-3.1.2.lib/ruby/3.1.0/tsort.rb:347:在call'", "/app/vendor/ruby-3.1.2/lib/ruby/3.1.0/tsort.rb:347:in中each_strong连接组件'"app/vvendor/ruby-3.1.2.lib/ruby/3.1.0/tsort.rb:226:在tsort_each'", "/app/vendor/ruby-3.1.2/lib/ruby/3.1.0/tsort.rb:205:intsort_each’中"app/vender/bundle/ruby/3.1.0/gems/railties-6.0.3.6/lib/rrails/initializable.rb:60:在run_initializers'", "/app/vendor/bundle/ruby/3.1.0/gems/railties-6.0.3.6/lib/rails/application.rb:363:in中初始化!'&"app/config/environment.rb:5:在CCD_ 14中"app/vvendor/bundle/ruby/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_requiser.rb:32:inrequire'", "/app/vendor/bundle/ruby/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:inrequire"app/vender/bundle/ruby/3.1.0/gems/activesupport-6.0.3.6/lib/active_support/dependences.rb:324:在block in require'", "/app/vendor/bundle/ruby/3.1.0/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:291:inload_dependence'中"app/vender/bundle/ruby/3.1.0/gems/activesupport-6.0.3.6/lib/active_support/dependences.rb:324:在require'", "/app/vendor/bundle/ruby/3.1.0/gems/railties-6.0.3.6/lib/rails/application.rb:339:inrequire_environment中!'&"app/vender/bundle/ruby/3.1.0/gems/railties-6.0.3.6/lib/rrails/application.rb:523:在执行中的block in run_tasks_blocks'", "/app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:in块中"app/vender/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:在each'", "/app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:in中执行"app/vender/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:219:在block in invoke_with_call_chain'", "/app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in中同步"app/vender/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:在invoke_prerequities的invoke_with_call_chain'", "/app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:243:in块中"app/vender/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:241:在each'", "/app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:241:ininvoke_prerequities‘中"app/vender/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:218:在block in invoke_with_call_chain'", "/app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in中同步"app/vender/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:在invoke_prerequities的invoke_with_call_chain'", "/app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:243:in块中"app/vender/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:241:在each'", "/app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:241:ininvoke_prerequities‘中"app/vender/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:218:在block in invoke_with_call_chain'", "/app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in中同步"app/vender/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:在invoke_with_call_chain'", "/app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:188:in中调用""app/vender/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:160:在invoke_task'", "/app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:116:in块(2个级别(中的top_level"app/vender/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:116:在顶层的CCD_ 29块中"app/vender/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:125:inrun_with_threads'", "/app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:110:intop_level"app/vender/bundle/ruby/3.1.0/gems/railties-6.0.3.6/lib/rrails/commands/rake/rake_command.rb:23:inblock in perform'", "/app/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:186:instandard_exception_handling'"app/vender/bundle/ruby/3.1.0/gems/railties-6.0.3.6/lib/rrails/commands/rake/rake_command.rb:20:inperform'", "/app/vendor/bundle/ruby/3.1.0/gems/railties-6.0.3.6/lib/rails/command.rb:48:ininvoke"app/vender/bundle/ruby/3.1.0/gems/railties-6.0.3.6/lib/rails/commands.rb:18:in<main>'", "/app/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:inrequire"app/vender/bundle/ruby/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_requiser.rb:32:inrequire'", "/app/bin/rails:4:in'"]

看起来这是最新redis客户端的一个错误:https://github.com/scoutapp/scout_apm_ruby/issues/458

它已在最新版本的gem(5.3.2(中修复。

相关内容

  • 没有找到相关文章

最新更新