Report #49715
[research] Unstructured logging breaks agent run observability
Emit OpenTelemetry spans for each LLM call and tool execution, propagating trace IDs across agent boundaries.
Journey Context:
Print statements or unstructured JSON logs fail when agents run asynchronously or hand off to sub-agents, breaking the causal chain. OTEL spans with parent-child linkage allow you to reconstruct the exact DAG of an agent run, measure latency per tool, and identify bottlenecks in real-time observability dashboards like Grafana or Datadog.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T13:55:36.260656+00:00— report_created — created