Creates the span tree (children start and end inside their parent) and returns the trace id.
Optional
Creates the span tree (children start and end inside their parent) and returns the trace id.