Uses of Interface
io.opentelemetry.sdk.trace.data.LinkData
-
Packages that use LinkData Package Description io.opentelemetry.exporter.internal.otlp.traces Marshaling of OTLP traces.io.opentelemetry.sdk.trace The OpenTelemetry SDK implementation of tracing.io.opentelemetry.sdk.trace.data The data format to model traces for export.io.opentelemetry.sdk.trace.samplers This package containsSampler
s for selecting traces that are recorded and exported. -
-
Uses of LinkData in io.opentelemetry.exporter.internal.otlp.traces
Methods in io.opentelemetry.exporter.internal.otlp.traces with parameters of type LinkData Modifier and Type Method Description (package private) static SpanLinkMarshaler
SpanLinkMarshaler. create(LinkData link)
(package private) static byte[]
SpanLinkMarshaler. encodeSpanLinkTraceState(LinkData link)
int
SpanLinkStatelessMarshaler. getBinarySerializedSize(LinkData link, MarshalerContext context)
void
SpanLinkStatelessMarshaler. writeTo(Serializer output, LinkData link, MarshalerContext context)
Method parameters in io.opentelemetry.exporter.internal.otlp.traces with type arguments of type LinkData Modifier and Type Method Description (package private) static SpanLinkMarshaler[]
SpanLinkMarshaler. createRepeated(java.util.List<LinkData> links)
-
Uses of LinkData in io.opentelemetry.sdk.trace
Fields in io.opentelemetry.sdk.trace with type parameters of type LinkData Modifier and Type Field Description (package private) java.util.List<LinkData>
SdkSpan. links
private java.util.List<LinkData>
SdkSpanBuilder. links
private java.util.List<LinkData>
AutoValue_SpanWrapper. resolvedLinks
Methods in io.opentelemetry.sdk.trace that return types with arguments of type LinkData Modifier and Type Method Description private java.util.List<LinkData>
SdkSpan. getImmutableLinks()
java.util.List<LinkData>
SpanWrapper. getLinks()
(package private) java.util.List<LinkData>
AutoValue_SpanWrapper. resolvedLinks()
(package private) abstract java.util.List<LinkData>
SpanWrapper. resolvedLinks()
Methods in io.opentelemetry.sdk.trace with parameters of type LinkData Modifier and Type Method Description private void
SdkSpanBuilder. addLink(LinkData link)
Method parameters in io.opentelemetry.sdk.trace with type arguments of type LinkData Modifier and Type Method Description (package private) static SpanWrapper
SpanWrapper. create(SdkSpan delegate, java.util.List<LinkData> links, java.util.List<EventData> events, Attributes attributes, int totalAttributeCount, int totalRecordedEvents, int totalRecordedLinks, StatusData status, java.lang.String name, long endEpochNanos, boolean hasEnded)
Note: the collections that are passed into this creator method are assumed to be immutable to preserve the overall immutability of the class.(package private) static SdkSpan
SdkSpan. startSpan(SpanContext context, java.lang.String name, InstrumentationScopeInfo instrumentationScopeInfo, SpanKind kind, Span parentSpan, Context parentContext, SpanLimits spanLimits, SpanProcessor spanProcessor, Clock tracerClock, Resource resource, AttributesMap attributes, java.util.List<LinkData> links, int totalRecordedLinks, long userStartEpochNanos)
Creates and starts a span with the given configuration.Constructor parameters in io.opentelemetry.sdk.trace with type arguments of type LinkData Constructor Description AutoValue_SpanWrapper(SdkSpan delegate, java.util.List<LinkData> resolvedLinks, java.util.List<EventData> resolvedEvents, Attributes attributes, int totalAttributeCount, int totalRecordedEvents, int totalRecordedLinks, StatusData status, java.lang.String name, long endEpochNanos, boolean internalHasEnded)
SdkSpan(SpanContext context, java.lang.String name, InstrumentationScopeInfo instrumentationScopeInfo, SpanKind kind, SpanContext parentSpanContext, SpanLimits spanLimits, SpanProcessor spanProcessor, AnchoredClock clock, Resource resource, AttributesMap attributes, java.util.List<LinkData> links, int totalRecordedLinks, long startEpochNanos)
-
Uses of LinkData in io.opentelemetry.sdk.trace.data
Classes in io.opentelemetry.sdk.trace.data that implement LinkData Modifier and Type Class Description (package private) class
AutoValue_ImmutableLinkData
(package private) class
ImmutableLinkData
An immutable implementation ofLinkData
.Methods in io.opentelemetry.sdk.trace.data that return LinkData Modifier and Type Method Description (package private) static LinkData
ImmutableLinkData. create(SpanContext spanContext)
(package private) static LinkData
ImmutableLinkData. create(SpanContext spanContext, Attributes attributes)
(package private) static LinkData
ImmutableLinkData. create(SpanContext spanContext, Attributes attributes, int totalAttributeCount)
static LinkData
LinkData. create(SpanContext spanContext)
Returns a new immutableLinkData
.static LinkData
LinkData. create(SpanContext spanContext, Attributes attributes)
Returns a new immutableLinkData
.static LinkData
LinkData. create(SpanContext spanContext, Attributes attributes, int totalAttributeCount)
Returns a new immutableLinkData
.Methods in io.opentelemetry.sdk.trace.data that return types with arguments of type LinkData Modifier and Type Method Description java.util.List<LinkData>
DelegatingSpanData. getLinks()
java.util.List<LinkData>
SpanData. getLinks()
Returns links recorded for thisSpan
. -
Uses of LinkData in io.opentelemetry.sdk.trace.samplers
Method parameters in io.opentelemetry.sdk.trace.samplers with type arguments of type LinkData Modifier and Type Method Description SamplingResult
AlwaysOffSampler. shouldSample(Context parentContext, java.lang.String traceId, java.lang.String name, SpanKind spanKind, Attributes attributes, java.util.List<LinkData> parentLinks)
SamplingResult
AlwaysOnSampler. shouldSample(Context parentContext, java.lang.String traceId, java.lang.String name, SpanKind spanKind, Attributes attributes, java.util.List<LinkData> parentLinks)
SamplingResult
ParentBasedSampler. shouldSample(Context parentContext, java.lang.String traceId, java.lang.String name, SpanKind spanKind, Attributes attributes, java.util.List<LinkData> parentLinks)
SamplingResult
Sampler. shouldSample(Context parentContext, java.lang.String traceId, java.lang.String name, SpanKind spanKind, Attributes attributes, java.util.List<LinkData> parentLinks)
Called duringSpan
creation to make a sampling samplingResult.SamplingResult
TraceIdRatioBasedSampler. shouldSample(Context parentContext, java.lang.String traceId, java.lang.String name, SpanKind spanKind, Attributes attributes, java.util.List<LinkData> parentLinks)
-