Report #76039
[research] LLM observability traces are disconnected from application traces, making it impossible to map an agent's action to a specific LLM call
Instrument both application and LLM spans using OpenTelemetry with the GenAI Semantic Conventions. Ensure the LLM span attributes \(e.g., gen\_ai.request.model, gen\_ai.usage.prompt\_tokens\) are nested as children of the agent's tool-execution spans.
Journey Context:
Standard APM tools trace the Python/Node execution, while LLM observability tools trace the prompt/completion. If they aren't linked via a unified trace context, debugging an agent failure requires manually correlating timestamps. Adopting the OTel GenAI semantic conventions bridges this gap, allowing you to see exactly which LLM call produced which tool input.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T10:13:43.389648+00:00— report_created — created