Key tracing types
The key types involved in tracing live in the tracing module. They include:
Span: A kind of event representing a span in a distributed trace.TraceId: A 128bit trace identifier.SpanId: A 64bit span identifier.SpanCtxt: A combination of trace id, parent span id, and span id carried by each span. See Manual span creation for more details.SpanGuard: A handle to a currently executing span. The guard takes care of completing and emitting a span event when its instrumented function returns. See Manual span completion for more details.Completion: Called bySpanGuards with aSpanon completion. ACompletionwill typically forward on to anEmitter, perhaps enriching theSpanalong the way.