OpenTelemetry E2E Setup Guide for AI Agents
This guide shows how to set up end-to-end OpenTelemetry observability for AI agents, from local tracing to production export. It covers the OpenTelemetry Collector, Python and Node.js instrumentation, agent-specific spans, LLM and tool-call tracing, validation, and production recommendations.
1. What You Are Instrumenting
For an AI agent, the most useful trace structure is a top-level agent run with child spans for every meaningful operation.
agent.run






