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 containsSamplers 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.NoopSpanBuilderExtendedDefaultTracer.NoopSpanBuilder. setSpanKind(SpanKind spanKind)ExtendedSpanBuilderExtendedSpanBuilder. setSpanKind(SpanKind spanKind)Sets theSpanKindfor 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 SpanKindSpanKind. 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.NoopSpanBuilderDefaultTracer.NoopSpanBuilder. setSpanKind(SpanKind spanKind)SpanBuilderSpanBuilder. 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 SpanKind Modifier and Type Method Description (package private) static ProtoEnumInfoSpanMarshaler. 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 SpanKindSdkSpan. kindprivate SpanKindSdkSpanBuilder. spanKindMethods in io.opentelemetry.sdk.trace that return SpanKind Modifier and Type Method Description SpanKindReadableSpan. getKind()Returns the kind of the span.SpanKindSdkSpan. getKind()SpanKindSpanWrapper. getKind()Methods in io.opentelemetry.sdk.trace with parameters of type SpanKind Modifier and Type Method Description ExtendedSpanBuilderSdkSpanBuilder. setSpanKind(SpanKind spanKind)(package private) static SdkSpanSdkSpan. 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 SpanKindDelegatingSpanData. getKind()SpanKindSpanData. 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 SamplingResultAlwaysOffSampler. shouldSample(Context parentContext, java.lang.String traceId, java.lang.String name, SpanKind spanKind, Attributes attributes, java.util.List<LinkData> parentLinks)SamplingResultAlwaysOnSampler. shouldSample(Context parentContext, java.lang.String traceId, java.lang.String name, SpanKind spanKind, Attributes attributes, java.util.List<LinkData> parentLinks)SamplingResultParentBasedSampler. shouldSample(Context parentContext, java.lang.String traceId, java.lang.String name, SpanKind spanKind, Attributes attributes, java.util.List<LinkData> parentLinks)SamplingResultSampler. shouldSample(Context parentContext, java.lang.String traceId, java.lang.String name, SpanKind spanKind, Attributes attributes, java.util.List<LinkData> parentLinks)Called duringSpancreation to make a sampling samplingResult.SamplingResultTraceIdRatioBasedSampler. shouldSample(Context parentContext, java.lang.String traceId, java.lang.String name, SpanKind spanKind, Attributes attributes, java.util.List<LinkData> parentLinks)
-