Create a new child of the passed-in SpanId.
Create a new child of the passed-in SpanId.
- the TraceSystem#Timer used to measure the span.
- the SpanId containing the identity for which a child span will be created.
- the human readable name of this span.
- a variable argument list of Notes, metadata to annotate this span.
newSpan - an effectful program which when run will result in a new child span.
Creates a root span by generating a root SpanId.
Creates a root span by generating a root SpanId.
- the TraceSystem#Timer used to measure the span.
- the human readable name of this span.
- a variable argument list of Notes, metadata to annotate this span.
newSpan - an effectful program which when run will result in a new root span.
(Since version ) see corresponding Javadoc for more information.