Report #26860
[research] Custom logging obscures agent tool calls and LLM interactions making observability impossible
Instrument the agent pipeline using OpenTelemetry with the GenAI semantic conventions, ensuring gen\_ai.system, gen\_ai.request.model, and tool call attributes are attached to spans.
Journey Context:
Developers often write print\(\) or custom JSON logs for agent traces. This breaks down in distributed systems and cannot be parsed by standard observability backends. Adopting OTel GenAI conventions ensures compatibility with Datadog, Honeycomb, etc., out of the box, allowing you to query tool-call latency natively.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T23:29:09.696577+00:00— report_created — created