SpanID
SpanID
SpanID is the span’s unique identifier. It consists of 8 randomly generated bytes and MUST be globally unique.
This field is REQUIRED for every span.
Relation to ParentSpanID
SpanID is the identifier passed along to ParentSpanID when creating a child span.
- If Span A with SpanIDA is the parent of Span B (whose spanID is SpanIDB), then the ParentSpanID for SpanB is SpanIDA.
- If Span Y’s ParentSpanID is NULL/empty, then Span Y is a root span
References
Resource | URL |
---|---|
SpanID in specs | specs/Trace/Span.TraceID |
SpanID proto definition | specs/Trace/Span.SpanID |