Skill 1.2.5

Specify observability components, including cross-service trace correlation, structured logging of agent reasoning paths, and agent replay capture for reproducible debugging

Key Concepts

Cross-service trace correlation uses OpenTelemetry with W3C Trace Context: each request carries a trace ID across agents, tools and back-end services, and spans export to Application Insights. Foundry tracing follows the GenAI semantic conventions, so model calls, tool calls and agent invocations appear as spans with token counts.

Structured logging of reasoning paths records each decision as typed fields (agent, step, chosen tool, arguments, result status, reasoning summary) rather than free text. Replay capture stores the inputs, prompt and model versions, tool results and random settings of a run so that it can be re-executed with recorded tool responses, making nondeterministic failures reproducible.