Skip to content
Live evals: score runs as they finish
← All posts

Engineering · · 6 min read

Tracing without slowing down

How the SDK records every span with under a millisecond of overhead, and what we gave up to get there.

Jonah Becker

An observability tool that makes your agent slower is one you will turn off. From the first version, the rule for the SDK was simple: never block the agent.

Buffer, then send

Spans are written to an in-memory ring buffer and flushed in the background every second, or sooner when the buffer fills. If our API is unreachable, the oldest spans are dropped, never the agent's work.

What we gave up

Spans arrive a second or two after they happen, so the live view is not quite live. We think that is the right trade.

Next postReplay last week before you shipThe best test set for a prompt change is the traffic you already have. A short guide to replays.

Ship agents you can explain.

The first 50,000 spans each month are free. No card needed.