Causally links another span to the current span
The context of the span to link to.
Optional
attributes: ObjectAn optional key value pair of arbitrary values.
Adds a single link to the span.
Links added after the creation will not affect the sampling decision. It is preferred span links be added at span creation.
the link to add.
Adds multiple links to the span.
Links added after the creation will not affect the sampling decision. It is preferred span links be added at span creation.
the links to add.
Returns the SpanContext object associated with this Span.
Span represents a logical unit of work as part of a broader Trace. Examples of span might include remote procedure calls or a in-process function calls to sub-components. A Trace has a single, top-level "root" Span that in turn may have zero or more child Spans, which in turn may have children.