我已经使用goliath配置了新的遗物,正如here所解释的那样
我正在使用gem 'newrelic_rpm',但没有在newrelic服务中获取统计数据。
发布于 2013-02-07 02:34:17
我们不得不在应用程序的开头添加一个手动启动
NewRelic::Agent.manual_start({:env => Goliath.env.to_s})
class NewrelicStatsExample < Goliath::API
# Stuff ...手动启动中有一个bug,这个bug是用最新的gem修复的。
还要确保在newrelic.yml文件中测试的环境的monitor_mode设置为true:
production:
<<: *default_settings
app_name: New Relic Example App (Production)
monitor_mode: true https://stackoverflow.com/questions/14044419
复制相似问题