Agent observability guide.
Production agents need comprehensive monitoring.
logger.info("tool_called", tool="get_weather", agent_id="agent_001")
from opentelemetry import trace
tracer = trace.get_tracer(__name__)
with tracer.start_as_current_span("agent_run") as span:
result = agent.run(task)
可观测性方案验证通过