Blog

Guides from the telemetry.dev team on tracing and debugging AI agents in production.

LLM Cost Monitoring: Account for Cached Tokens

How to handle cached tokens in LLM cost monitoring: OpenAI and Gemini count cache hits inside input, Anthropic reports them separately. Normalize before pricing.

LLM Trace Sampling: Diagnose Missing Runs

Agent runs or child spans missing from your traces? Learn how LLM trace sampling, parent-based decisions, tail sampling and exporters each drop data, and how to find which.