Uses of Interface
io.opentelemetry.api.incubator.trace.ExtendedSpanBuilder
Packages that use ExtendedSpanBuilder
Package
Description
The OpenTelemetry SDK implementation of tracing.
-
Uses of ExtendedSpanBuilder in io.opentelemetry.api.incubator.trace
Classes in io.opentelemetry.api.incubator.trace that implement ExtendedSpanBuilderModifier and TypeClassDescriptionprivate static final classMethods in io.opentelemetry.api.incubator.trace that return ExtendedSpanBuilderModifier and TypeMethodDescriptionExtendedSpanBuilder.addLink(SpanContext spanContext) Adds a link to the newly createdSpan.ExtendedSpanBuilder.addLink(SpanContext spanContext, Attributes attributes) Adds a link to the newly createdSpan.default ExtendedSpanBuilderExtendedSpanBuilder.setAllAttributes(Attributes attributes) Sets attributes to theSpanBuilder.ExtendedSpanBuilder.setAttribute(AttributeKey<T> key, T value) Sets an attribute to the newly createdSpan.ExtendedSpanBuilder.setAttribute(String key, boolean value) Sets an attribute to the newly createdSpan.ExtendedSpanBuilder.setAttribute(String key, double value) Sets an attribute to the newly createdSpan.ExtendedSpanBuilder.setAttribute(String key, long value) Sets an attribute to the newly createdSpan.ExtendedSpanBuilder.setAttribute(String key, String value) Sets an attribute to the newly createdSpan.ExtendedSpanBuilder.setNoParent()Sets the option to become a rootSpanfor a new trace.Sets the parent to use from the specifiedContext.ExtendedSpanBuilder.setParentFrom(ContextPropagators propagators, Map<String, String> carrier) Extract a span context from the given carrier and set it as parent of the span forExtendedSpanBuilder.startAndCall(SpanCallable)andExtendedSpanBuilder.startAndRun(SpanRunnable).ExtendedSpanBuilder.setSpanKind(SpanKind spanKind) Sets theSpanKindfor the newly createdSpan.ExtendedSpanBuilder.setStartTimestamp(long startTimestamp, TimeUnit unit) Sets an explicit start timestamp for the newly createdSpan.default ExtendedSpanBuilderExtendedSpanBuilder.setStartTimestamp(Instant startTimestamp) Sets an explicit start timestamp for the newly createdSpan. -
Uses of ExtendedSpanBuilder in io.opentelemetry.sdk.trace
Classes in io.opentelemetry.sdk.trace that implement ExtendedSpanBuilderModifier and TypeClassDescription(package private) final classSdkSpanBuilderis SDK implementation ofSpanBuilder.Methods in io.opentelemetry.sdk.trace that return ExtendedSpanBuilderModifier and TypeMethodDescriptionSdkSpanBuilder.addLink(SpanContext spanContext) SdkSpanBuilder.addLink(SpanContext spanContext, Attributes attributes) SdkSpanBuilder.setAttribute(AttributeKey<T> key, T value) SdkSpanBuilder.setAttribute(String key, boolean value) SdkSpanBuilder.setAttribute(String key, double value) SdkSpanBuilder.setAttribute(String key, long value) SdkSpanBuilder.setAttribute(String key, String value) SdkSpanBuilder.setNoParent()SdkSpanBuilder.setParentFrom(ContextPropagators propagators, Map<String, String> carrier) SdkSpanBuilder.setSpanKind(SpanKind spanKind) SdkSpanBuilder.setStartTimestamp(long startTimestamp, TimeUnit unit)