SpanIDs
SpanID is an identifier used to represent a single span within a distributed trace. In tracing systems, a trace is composed of multiple spans that together describe a distributed operation, and the SpanID uniquely identifies each individual span within its trace. The combination of a TraceID and a SpanID enables tracing systems to reconstruct the full execution path and relationships between spans.
SpanID is typically an 8-byte value, commonly encoded as 16 hexadecimal characters. It is unique within a
SpanIDs are usually generated by instrumentation libraries or tracing agents when a new span is created. The
Each non-root span has a parent span, identified by the parent’s SpanID. In common propagation formats, the
When a request propagates across services, the trace context—including the TraceID and the relevant SpanIDs—flows to