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.
サイドカーコンテナへのダイナミック言語プロキシの展開
アプリケーションコンテナへのダイナミック言語プロキシの展開
プロキシをアプリケーションと同じコンテナ内の別プロセスとして実行する場合は、Python アプリケーションの起動時に --use-manual-proxy パラメータを省略します。
pyagent run python ./app.py
Python エージェントは、同じコンテナ内のプロキシに対して別のプロセスを自動的に開始します。サイドカーコンテナは展開に追加せず、アプリケーションコンテナのみ定義されるようにしてください。