Python Troubleshooting Framework Install

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.

  1. Confirm the app is receiving traffic, has been for at least 5 min, and continues to receive traffic during troubleshooting.

  2. Run the Diagnostics CLI to collect data then validate the following…

    1. Confirm Python version and OS is supported.
    2. Confirm the newrelic package is visible on the pip freezelist executed from within the virtualenv.
    3. Make sure the application is started using the same virtualenv in which newrelic package was installed.
    4. Confirm license_key & app_name is set within the newrelic.ini file OR with use of environment variables.
    5. Confirm the newrelic-admin script is being used to start up the application.
    6. Run the Python Agent Test.
    7. Check for High Security Mode configuration mismatches.
  3. If newrelic-admin can’t be used or simply doesn’t yield expected results, we recommend an advanced integration method within the applications code.

  4. Confirm it’s a web application and if not, we recommend a solution for monitoring background scripts or jobs.

  5. Check the log file is generated after configuring logging in the agent.

  6. If you are still unable to resolve the issue please reach out to New Relic Global Technical Support by going to 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.