AI Observability
LLM apps without observability are dark forests. OpenTelemetry's GenAI semantic conventions, the built-in Microsoft.Extensions.AI OTel middleware, and the patterns for tracing multi-agent flows.
Topics (canonical order)
-
OTel GenAI Semantic Conventions
The
gen_ai.*attribute spec, span kinds, metrics, where the spec is still moving -
What to log, what NOT to log, redaction, sampling, storage cost
-
Multi-step agent flows as nested spans, tool calls, handoffs, debugging long traces
Cross-references
- Builds on OpenTelemetry: Traces, Metrics, Logs and Distributed Tracing.
- IChatClient OTel middleware in Telemetry & Caching.