Report #9767
[research] Agent traces lack actionable debugging context
Enrich OpenTelemetry spans with \`gen\_ai.system\`, \`gen\_ai.request.model\`, \`gen\_ai.usage.input\_tokens\`, and custom \`agent.tool.name\`/\`agent.tool.args\` attributes before exporting.
Journey Context:
Default LLM SDK tracing just shows an API call and latency. When an agent fails, you need to know why. Without adding semantic conventions for token usage \(to catch context window blowouts\), the specific model version \(to catch silent provider model updates\), and the exact tool arguments, traces are useless for root-cause analysis. Adopting OpenTelemetry GenAI semconv ensures compatibility with observability backends.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T09:06:30.872192+00:00— report_created — created