Deploy the Dynamic Languages Proxy
The Dynamic Languages Proxy acts as a communication gateway between the Python Agent running in the application process and the AppDynamics Controller.
You can use one of two available options to deploy the Dynamic Languages Proxy, either the:
- Sidecar Container (recommended): This option follows the best practice of one process per container. The Dynamic Language Proxy runs in a sidecar container separate from the application container, or
- Application Container: This option uses the default configuration to run the proxy in the same container as the application.
Deploy Dynamic Languages Proxy in a Sidecar Container
Deploy Dynamic Languages Proxy in the Application Container
If you prefer to run the proxy as a separate process in the same container as the
application, omit the --use-manual-proxy
parameter when starting the Python
application.
pyagent run python ./app.py
The Python Agent automatically starts a separate process for the proxy in the same container. Avoid adding a sidecar container to the deployment so only the application container is defined.