OpenCensus is being archived! Read the blog post to learn more



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.


Resource URL
SpanID in specs specs/Trace/Span.TraceID
SpanID proto definition specs/Trace/Span.SpanID