OpenTelemetry's Semantic Conventions for Generative AI provide standardized observability for LLM-powered applications. The walkthrough covers exporting GenAI telemetry from VS Code Copilot (and other tools like Claude Code and OpenAI Codex), configuring the Aspire Dashboard as a local OTLP-compatible backend, and exploring traces, metrics, and events. Key attributes include model names, token counts, finish reasons, and optionally full prompt/response content. Metrics like operation duration and token usage help estimate costs, detect latency regressions, and monitor usage patterns across models and agents.

4m read timeFrom opentelemetry.io
Post cover image
Table of contents
Exporting GenAI telemetryExploring GenAI telemetryBeyond this demo

Sort: