Uses of Class
io.opentelemetry.api.trace.SpanKind
-
Packages that use SpanKind Package Description io.opentelemetry.api.incubator.trace io.opentelemetry.api.trace API for distributed tracing.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 SpanKind in io.opentelemetry.api.incubator.trace
Methods in io.opentelemetry.api.incubator.trace with parameters of type SpanKind Modifier and Type Method Description ExtendedDefaultTracer.NoopSpanBuilder
ExtendedDefaultTracer.NoopSpanBuilder. setSpanKind(SpanKind spanKind)
ExtendedSpanBuilder
ExtendedSpanBuilder. setSpanKind(SpanKind spanKind)
Sets theSpanKind
for the newly createdSpan
. -
Uses of SpanKind in io.opentelemetry.api.trace
Methods in io.opentelemetry.api.trace that return SpanKind Modifier and Type Method Description static SpanKind
SpanKind. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SpanKind[]
SpanKind. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in io.opentelemetry.api.trace with parameters of type SpanKind Modifier and Type Method Description DefaultTracer.NoopSpanBuilder
DefaultTracer.NoopSpanBuilder. setSpanKind(SpanKind spanKind)
SpanBuilder
SpanBuilder. setSpanKind(SpanKind spanKind)
Sets theSpanKind
for the newly createdSpan
. -
Uses of SpanKind in io.opentelemetry.exporter.internal.otlp.traces
Methods in io.opentelemetry.exporter.internal.otlp.traces with parameters of type SpanKind Modifier and Type Method Description (package private) static ProtoEnumInfo
SpanMarshaler. toProtoSpanKind(SpanKind kind)
-
Uses of SpanKind in io.opentelemetry.sdk.trace
Fields in io.opentelemetry.sdk.trace declared as SpanKind Modifier and Type Field Description private SpanKind
SdkSpan. kind
private SpanKind
SdkSpanBuilder. spanKind
Methods in io.opentelemetry.sdk.trace that return SpanKind Modifier and Type Method Description SpanKind
ReadableSpan. getKind()
Returns the kind of the span.SpanKind
SdkSpan. getKind()
SpanKind
SpanWrapper. getKind()
Methods in io.opentelemetry.sdk.trace with parameters of type SpanKind Modifier and Type Method Description ExtendedSpanBuilder
SdkSpanBuilder. setSpanKind(SpanKind spanKind)
(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.Constructors in io.opentelemetry.sdk.trace with parameters of type SpanKind Constructor Description 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 SpanKind in io.opentelemetry.sdk.trace.data
Methods in io.opentelemetry.sdk.trace.data that return SpanKind Modifier and Type Method Description SpanKind
DelegatingSpanData. getKind()
SpanKind
SpanData. getKind()
Returns the kind of thisSpan
. -
Uses of SpanKind in io.opentelemetry.sdk.trace.samplers
Methods in io.opentelemetry.sdk.trace.samplers with parameters of type SpanKind 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)
-