Uses of Interface
io.opentelemetry.api.trace.SpanBuilder
-
Packages that use SpanBuilder Package Description io.opentelemetry.api.incubator.trace io.opentelemetry.api.trace API for distributed tracing.io.opentelemetry.sdk.trace The OpenTelemetry SDK implementation of tracing. -
-
Uses of SpanBuilder in io.opentelemetry.api.incubator.trace
Subinterfaces of SpanBuilder in io.opentelemetry.api.incubator.trace Modifier and Type Interface Description interfaceExtendedSpanBuilderExtendedSpanBuilderwith experimental APIs.Classes in io.opentelemetry.api.incubator.trace that implement SpanBuilder Modifier and Type Class Description private static classExtendedDefaultTracer.NoopSpanBuilderMethods in io.opentelemetry.api.incubator.trace that return SpanBuilder Modifier and Type Method Description SpanBuilderExtendedDefaultTracer. spanBuilder(java.lang.String spanName) -
Uses of SpanBuilder in io.opentelemetry.api.trace
Classes in io.opentelemetry.api.trace that implement SpanBuilder Modifier and Type Class Description private static classDefaultTracer.NoopSpanBuilderMethods in io.opentelemetry.api.trace that return SpanBuilder Modifier and Type Method Description SpanBuilderSpanBuilder. addLink(SpanContext spanContext)Adds a link to the newly createdSpan.SpanBuilderSpanBuilder. addLink(SpanContext spanContext, Attributes attributes)Adds a link to the newly createdSpan.default SpanBuilderSpanBuilder. setAllAttributes(Attributes attributes)Sets attributes to theSpanBuilder.<T> SpanBuilderSpanBuilder. setAttribute(AttributeKey<T> key, T value)Sets an attribute to the newly createdSpan.SpanBuilderSpanBuilder. setAttribute(java.lang.String key, boolean value)Sets an attribute to the newly createdSpan.SpanBuilderSpanBuilder. setAttribute(java.lang.String key, double value)Sets an attribute to the newly createdSpan.SpanBuilderSpanBuilder. setAttribute(java.lang.String key, long value)Sets an attribute to the newly createdSpan.SpanBuilderSpanBuilder. setAttribute(java.lang.String key, java.lang.String value)Sets an attribute to the newly createdSpan.SpanBuilderSpanBuilder. setNoParent()Sets the option to become a rootSpanfor a new trace.SpanBuilderSpanBuilder. setParent(Context context)Sets the parent to use from the specifiedContext.SpanBuilderSpanBuilder. setSpanKind(SpanKind spanKind)Sets theSpanKindfor the newly createdSpan.SpanBuilderSpanBuilder. setStartTimestamp(long startTimestamp, java.util.concurrent.TimeUnit unit)Sets an explicit start timestamp for the newly createdSpan.default SpanBuilderSpanBuilder. setStartTimestamp(java.time.Instant startTimestamp)Sets an explicit start timestamp for the newly createdSpan.SpanBuilderDefaultTracer. spanBuilder(java.lang.String spanName)SpanBuilderTracer. spanBuilder(java.lang.String spanName)Returns aSpanBuilderto create and start a newSpan. -
Uses of SpanBuilder in io.opentelemetry.sdk.trace
Classes in io.opentelemetry.sdk.trace that implement SpanBuilder Modifier and Type Class Description (package private) classSdkSpanBuilderSdkSpanBuilderis SDK implementation ofSpanBuilder.Methods in io.opentelemetry.sdk.trace that return SpanBuilder Modifier and Type Method Description SpanBuilderSdkTracer. spanBuilder(java.lang.String spanName)
-