addLink

open fun addLink(linkedSpan: EmbraceSpan): Boolean

Add a link to the given EmbraceSpan


open fun addLink(linkedSpanContext: OtelJavaSpanContext): Boolean

Add a link to the span with the given SpanContext


open fun addLink(linkedSpan: EmbraceSpan, attributes: Map<String, String>?): Boolean

Add a link to the given EmbraceSpan with the given attributes


abstract fun addLink(linkedSpanContext: OtelJavaSpanContext, attributes: Map<String, String>?): Boolean

Add a link to the span with the given SpanContext with the given attributes