Encyclopedia Evalica / Tracing and instrumentation / Span

Span

/span/A discrete unit of work within a trace, with a defined start and end time. Spans represent steps like LLM calls, vector database searches, tool invocations, or agent reasoning steps, and they nest to represent execution hierarchy. (noun)

The LLM span took 4.2 seconds, dominating end-to-end latency.

Related Tracing and instrumentation terms

From the docs

Get started with Evals

Braintrust is the observability platform for agents in production. By actively applying intelligence to agent traces and automatically surfacing critical patterns, Braintrust helps teams at Notion, Stripe, Box, OpenAI, and Cloudflare ship quality agents at scale.

Start building