Install the Python agent using Contrast
To install the Python agent using Contrast:
In the Contrast web application, select Add new in the top right corner.
Select the Python agent in the drop-down menu then select Download agent.
Add the contrast-python-agent-[version].tar.gz to the application's requirements.txt.
./path/to/contrast-python-agent-[version].tar.gz
Then install normally:
pip install -r requirements.txt
OR
Manually install the agent by running:
pip install ./path/to/contrast-python-agent-[version].tar.gz
Verify that
autoconf
is installed on the system where you will run the agent.Start and exercise your application as normal.
Verify that your server is registered in Contrast and that it reports an instance of your application.