Report #101624
[research] Agent traces are opaque and not portable between observability backends
Adopt OpenTelemetry GenAI semantic conventions: emit gen\_ai.system, gen\_ai.request.model, gen\_ai.usage.\*, gen\_ai.operation.name, gen\_ai.agent.id/name/description, and lifecycle spans create\_agent, invoke\_agent, and execute\_tool. Route telemetry through an OTel Collector for redaction, tail-based sampling, and backend routing.
Journey Context:
The GenAI conventions are stabilizing but still in development status; major vendors including Datadog, Arize Phoenix, Langfuse, and Grafana already support them. Waiting means paying re-instrumentation cost later. Traces that capture the full decision path are the primary signal; agent-specific metrics derived from spans provide the system view; logs only fill supporting context. The biggest current gap is standardized cross-agent handoff attributes, so add custom attributes for those alongside the standard gen\_ai.\* ones.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-07T05:10:14.549264+00:00— report_created — created