No data appears (Ruby)

Problem

After installing the New Relic Ruby agent and waiting five minutes, no data appears in your New Relic UI.

Solution

To troubleshoot missing data:

  1. Ensure your config file is installed at config/newrelic.yml within your application directory and that your config file is valid YML. To download a copy of this file with your license key pre-populated, select (your account name) > Account Settings > Download a clean configuration file from the New Relic APM website.
  2. Restart your web server.
  3. Examine the agent's log file at log/newrelic_agent.log for any errors or warnings that show up upon restarting your application server processes. If this log file isn't present or isn't being written to, see No log file.
  4. Check the New Relic agent log for an entry that has INFO : Reporting to: followed by a URL. Ensure that URL matches the account and application you are viewing in the New Relic UI.
  5. Ensure the New Relic agent is configured to start in the environment you're deploying to. For more information, see Controlling when the Ruby agent starts.
  6. If no errors are obvious at the info level, generate detailed debug logs.
  7. Try updating to the latest version of the newrelic_rpm gem.
  8. If you are using something other than Rails, set RACK_ENV to an environment appearing in the newrelic.yml file, such as development or production.

For more help

Additional documentation resources include:

Join the discussion about Ruby in the New Relic Online Technical Community! The Technical Community is a public platform to discuss and troubleshoot your New Relic toolset.

If you need additional help, get support at support.newrelic.com.