Monitor Generative AI Applications through Events
The Python Agent captures and publishes events for Large Language Model (LLM) and Vector Database operations. It helps you to monitor and analyze your generative AI application behavior in the Controller.
When you enable monitoring events of generative AI applications, the Python Agent instruments LLM and vector database calls from the supported frameworks. Then, it publishes the event data to the Events Service and this data is displayed on the Controller. Analyze the generative AI applications behavior using this data and take actions if necessary.
Supported Frameworks
After you enable the Python instrumentation to monitor events data, the Python Agent automatically collects events from the following frameworks:
| Framework | Flag |
|---|---|
| AWS Bedrock | enable-bedrock |
| LangChain LLM and VectorStores | enable-langchain |
| OpenAI Client | enable-openai |
Prerequisites
Ensure the following conditions are met:
-
Events Service version is 25.10.0 or higher
-
Python Agent version is 25.10.0 or higher.
イベントをモニターする Python エージェントの設定
エージェントのインストゥルメンテーションによって、必要なフレームワークを有効にする必要があります。
たとえば、OpenAI イベントをキャプチャするには、enable-openai と enable-genai-events の両方を true に設定します。
/path/to/appdynamics.cfg ファイルを更新します。