public static interface SpanData.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 |
|---|---|
io.opentelemetry.common.Attributes |
getAttributes()
Returns the set of attributes.
|
io.opentelemetry.trace.SpanContext |
getContext()
Returns the
SpanContext. |
int |
getTotalAttributeCount()
The total number of attributes that were recorded on this Link.
|
io.opentelemetry.trace.SpanContext getContext()
SpanContext.SpanContext.io.opentelemetry.common.Attributes getAttributes()
int getTotalAttributeCount()
TraceConfig.getMaxNumberOfAttributesPerLink()