addLink

open fun addLink(linkedSpan: EmbraceSpan, attributes: Map<String, String> = emptyMap()): Boolean(source)

Add a link to the given EmbraceSpan with the given attributes


abstract fun addLink(linkedSpanContext: SpanContext, attributes: Map<String, String> = emptyMap()): Boolean(source)

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