Uses of Enum
io.opentelemetry.api.trace.SpanKind
Packages that use SpanKind
Package
Description
API for distributed tracing.
Marshaling of OTLP traces.
The OpenTelemetry SDK implementation of tracing.
The data format to model traces for export.
This package contains
Samplers 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 SpanKindModifier and TypeMethodDescriptionExtendedDefaultTracer.NoopSpanBuilder.setSpanKind(SpanKind spanKind) ExtendedSpanBuilder.setSpanKind(SpanKind spanKind) Sets theSpanKindfor the newly createdSpan. -
Uses of SpanKind in io.opentelemetry.api.trace
Subclasses with type arguments of type SpanKind in io.opentelemetry.api.traceMethods in io.opentelemetry.api.trace that return SpanKindModifier and TypeMethodDescriptionstatic SpanKindReturns 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 SpanKindModifier and TypeMethodDescriptionDefaultTracer.NoopSpanBuilder.setSpanKind(SpanKind spanKind) SpanBuilder.setSpanKind(SpanKind spanKind) Sets theSpanKindfor 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 SpanKindModifier and TypeMethodDescription(package private) static ProtoEnumInfoSpanMarshaler.toProtoSpanKind(SpanKind kind) -
Uses of SpanKind in io.opentelemetry.sdk.trace
Fields in io.opentelemetry.sdk.trace declared as SpanKindModifier and TypeFieldDescriptionprivate final SpanKindSdkSpan.kindprivate SpanKindSdkSpanBuilder.spanKindMethods in io.opentelemetry.sdk.trace that return SpanKindModifier and TypeMethodDescriptionReadableSpan.getKind()Returns the kind of the span.SdkSpan.getKind()SpanWrapper.getKind()Methods in io.opentelemetry.sdk.trace with parameters of type SpanKindModifier and TypeMethodDescriptionSdkSpanBuilder.setSpanKind(SpanKind spanKind) (package private) static SdkSpanSdkSpan.startSpan(SpanContext context, String name, InstrumentationScopeInfo instrumentationScopeInfo, SpanKind kind, Span parentSpan, Context parentContext, SpanLimits spanLimits, SpanProcessor spanProcessor, Clock tracerClock, Resource resource, AttributesMap attributes, 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 SpanKindModifierConstructorDescriptionprivateSdkSpan(SpanContext context, String name, InstrumentationScopeInfo instrumentationScopeInfo, SpanKind kind, SpanContext parentSpanContext, SpanLimits spanLimits, SpanProcessor spanProcessor, AnchoredClock clock, Resource resource, AttributesMap attributes, 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 -
Uses of SpanKind in io.opentelemetry.sdk.trace.samplers
Methods in io.opentelemetry.sdk.trace.samplers with parameters of type SpanKindModifier and TypeMethodDescriptionAlwaysOffSampler.shouldSample(Context parentContext, String traceId, String name, SpanKind spanKind, Attributes attributes, List<LinkData> parentLinks) AlwaysOnSampler.shouldSample(Context parentContext, String traceId, String name, SpanKind spanKind, Attributes attributes, List<LinkData> parentLinks) ParentBasedSampler.shouldSample(Context parentContext, String traceId, String name, SpanKind spanKind, Attributes attributes, List<LinkData> parentLinks) Sampler.shouldSample(Context parentContext, String traceId, String name, SpanKind spanKind, Attributes attributes, List<LinkData> parentLinks) Called duringSpancreation to make a sampling samplingResult.TraceIdRatioBasedSampler.shouldSample(Context parentContext, String traceId, String name, SpanKind spanKind, Attributes attributes, List<LinkData> parentLinks)