Skip to content

Glossary: LLMs in Production

Span / trace

Also written: span, spans, trace, traces, tracing

A span is one named, timed step with attributes; a trace is the tree of spans for one request. A trace shows two fast Haiku failures, a backoff, then Luna's answer.

Where the book teaches it

Related terms

OpenTelemetry (OTel)Attribute