After installing the Python agent 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:
- Ensure that you installed the agent on the same environment as your application. If you're using a virtual environment, install it there.
- 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.
- Use New Relic Diagnostics to try to automatically identify the issue.
- Make sure data can get to the New Relic UI by running the Python agent test.
- Ensure you meet the compatibility and requirements. Check for any special requirements for the web framework or web server you're using.
- Review the configuration file that was generated with the
newrelic-admin generate-configcommand to make sure it contains the correct license key.
- 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.