No data appears (Python)


After installing the Python agent, generating some traffic, and waiting five minutes, your data does not appear in the New Relic UI.


Here are some tips for troubleshooting missing data, placed in approximate order of the likelihood of them being the problem:

  1. Ensure that you installed the agent on the same environment as your application. If you're using a virtual environment, install it there.
  2. Make sure your agent is up to date. If you downloaded it from the New Relic site rather than use pip or easy_install, compare your version number to the current release.
  3. Use New Relic Diagnostics to try to automatically identify the issue.
  4. Make sure data can get to the New Relic UI by running the Python agent test.
  5. Ensure you meet the compatibility and requirements. Check for any special requirements for the web framework or web server you're using.
  6. Review the configuration file that was generated with the newrelic-admin generate-config command to make sure it contains the correct license key.
  7. Generate detailed logs for troubleshooting. Then check the log files for error messages. If the log file is missing, ensure that you have permissions to write to that location.

Also, if no data appears and you see warning messages about activating or reactivating your app, follow the activation troubleshooting procedures.

For more help

Recommendations for learning more: