I have configured New Relic with goliath as explained here
I am using gem 'newrelic_rpm'
, but not getting stats at newrelic service.
I have configured New Relic with goliath as explained here
I am using gem 'newrelic_rpm'
, but not getting stats at newrelic service.
We had to add a manual start at the beginning of our app
NewRelic::Agent.manual_start({:env => Goliath.env.to_s})
class NewrelicStatsExample < Goliath::API
# Stuff ...
There was a bug in the manual start that was just fixed with the most recent gem.
Also make sure the monitor_mode is set to true for the environment you are testing in the newrelic.yml
file:
production:
<<: *default_settings
app_name: New Relic Example App (Production)
monitor_mode: true