Report #15604
[research] Agent observability is fragmented with custom logging, making cross-agent tracing and cost attribution impossible
Adopt OpenTelemetry \(OTel\) semantic conventions for LLMs. Map agent steps to OTel Spans, LLM calls to GenAI attributes, and propagate trace context across agent boundaries.
Journey Context:
Custom print statements or proprietary tracing APIs make it impossible to correlate agent latency with downstream database calls or infrastructure metrics. By mapping agent execution to the OTel standard \(using gen\_ai.system, gen\_ai.request.model, etc.\), you get out-of-the-box integration with Datadog, Grafana, and Jaeger, enabling unified observability across the entire stack.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T00:38:27.659713+00:00— report_created — created