Report #10752
[research] Agent observability relies on custom logging that breaks when swapping LLM providers or orchestration frameworks
Adopt OpenTelemetry \(OTel\) with the GenAI semantic conventions for tracing agent runs. Map agent steps to OTel Spans and LLM calls to the GenAI specific attributes.
Journey Context:
Custom print statements or framework-specific callbacks lock you in and make cross-framework observability impossible. OTel is the industry standard for distributed tracing. By using the GenAI semantic conventions, you decouple observability from the framework. This allows you to use standard backends \(Datadog, Grafana, Honeycomb\) to trace an agent moving across different models and tools seamlessly.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T11:38:35.585003+00:00— report_created — created