顧客サポートエージェントを含む Microsoft Foundry プロジェクトがあるとします。このエージェントは、応答を生成する前に、内部のナレッジ API ツールを呼び出します。
ユーザーから以下の問題が報告されています。
※一部のリクエストは完了までに15秒以上かかる場合があります。
* 知識APIが期待されるデータを返した場合でも、一部の応答が誤っている場合があります。
大規模言語モデル(LLM)呼び出し、ツール呼び出し、およびタイミング情報の順序を確認するには、個々のエージェントの実行を検査する必要があります。
どの可観測性機能を使用すべきでしょうか?
正解:C
The correct capability is tracing because the requirement is to inspect the execution path of an individual agent run. Microsoft Foundry tracing captures detailed telemetry for agent behavior, including LLM calls, tool invocations, agent decision flows, inputs, outputs, tool results, token consumption, duration, and latency.
This is the appropriate observability mechanism when you need to determine which step introduced a delay, whether the agent called the internal knowledge API, what data the tool returned, and how the model used that data before producing the final response. Microsoft's Foundry observability guidance describes distributed tracing as the mechanism that provides visibility into LLM calls, tool invocations, agent decisions, and inter-service dependencies.
Token usage is useful for cost analysis and prompt optimization, but it does not show ordered run steps or tool-call sequencing. Safety metrics evaluate risk-related output behavior, not latency or tool execution.
General monitoring provides aggregate health, latency, success-rate, and dashboard views, but the question asks for per-run sequence inspection and timing breakdowns. Foundry agent tracing specifically supports debugging unexpected behavior and monitoring latency across requests. Reference topics: Microsoft Foundry observability, agent tracing, OpenTelemetry-based traces, tool invocations, LLM call inspection, and latency diagnostics.