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 the Diagnostics CLI to collect data then validate the following…
- Confirm Python version and OS is supported.
- Confirm the
newrelic
package is visible on thepip freeze
list executed from within the virtualenv. - Make sure the application is started using the same virtualenv in which
newrelic
package was installed. - Confirm
license_key
&app_name
is set within thenewrelic.ini
file OR with use of environment variables. - Confirm the
newrelic-admin
script is being used to start up the application. - Run the Python Agent Test.
- Check for High Security Mode configuration mismatches.
-
If
newrelic-admin
can’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.