Once you’ve installed the Python agent, you should see data reporting within a few minutes. If you’re having trouble, these are the steps that our support teams take to troubleshoot, and we hope they will help you find and resolve the issue quickly.
Confirm the app is receiving traffic, has been for at least 5 min, and continues to receive traffic during troubleshooting.
Run NrDiag to collect data then validate the following…
- Confirm Python version and OS is supported.
- Confirm the
newrelicpackage is visible on the
pip freezelist executed from within the virtualenv.
- Make sure the application is started using the same virtualenv in which
newrelicpackage was installed.
app_nameis set within the
newrelic.inifile OR with use of environment variables.
- Confirm the
newrelic-adminscript is being used to start up the application.
- Run the Python Agent Test.
- Check for High Security Mode configuration mismatches.
newrelic-admincan’t be used or simply doesn’t yield expected results, we recommend an advanced integration method within the applications code.
Confirm it’s a web application and if not, we recommend a solution for monitoring background scripts or jobs.
Check the log file is generated after configuring logging in the agent.
If you are still unable to resolve the issue please reach out to New Relic Global Technical Support by going to support.newrelic.com. Please be sure to mention, in as much detail as possible, the steps you have tried already and details of what you expect to see and what you are seeing.