Content Deep Dive

Agent Tracing: See Every Tool Call and Provider Attempt

Blog post from OpenRouter

Post Details
Company
Date Published
Author
OpenRouter
Word Count
2,366
Company Posts That Month
9
Language
English
Hacker News Points
-
Post removed?
No
Summary

Agent tracing combines spans from an agent’s own code with OpenRouter Broadcast’s model-generation and provider-attempt spans, linking tool calls, model calls, retries, timing, and run outcomes into one OpenTelemetry trace. The article explains how to instrument agent lifecycle hooks, pass trace and parent-span IDs with each request, and use Privacy Mode to omit prompts, replies, and error text while retaining operational data; it cautions that stop sequences and custom trace metadata remain exposed. In 27 order-support runs, all 98 model calls matched a generation span with matching cost, while the agent’s spans revealed incorrect tool arguments and outputs, and OpenRouter’s spans identified providers, retries, failures, and provider wait times. Together, the traces helped distinguish agent-side delays from provider latency and showed details that either system alone could not provide.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Observability 11 542 100 52 -84%
LLM 10 912 153 73 -83%
Gemini 3.8 Flash 6 22 6 4 -93%
OpenTelemetry 5 319 42 23 -74%
Real-time 1 523 136 65 -88%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.