Before You Begin

  • Verify support for your application environment at Python Supported Environments.
  • Verify that the machine where you will install the agent can access the Python Package Index.
  • Provide a WSGI-based application to monitor.
  • Verify that you can access the machine where the application runs as a user with privileges to install the agent software and restart the application. Verify that you have a user account with these privileges.
  • If you are using uWSGI, set enable-threads=1 in the uWSGI configuration file. The agent requires multi-threading.There is a known incompatibility between the Python Agent and versions of uWSGI installed via OS packages managers such as ‘apt-get’. For this reason, AppDynamics recommends installing uWSGI from pip to avoid this issue.
  • If the application to monitor runs in a virtual environment, activate the virtual environment. For example, the following source command activates a virtual environment:
    source /<path_to_virtual_environment>/bin/activate

    Activating a virtual environment is not necessary if the application runs in the global Python environment.