@ThreadSafe public interface Link
Span.
Used (for example) in batching operations, where a single batch handler processes multiple requests from different traces. Link can be also used to reference spans from the same trace.
| Modifier and Type | Method and Description |
|---|---|
Map<String,AttributeValue> |
getAttributes()
Returns the set of attributes.
|
SpanContext |
getContext()
Returns the
SpanContext. |
SpanContext getContext()
SpanContext.SpanContext.Map<String,AttributeValue> getAttributes()