Uses of Class
io.opencensus.trace.SpanBuilder
-
Packages that use SpanBuilder Package Description io.opencensus.implcore.trace io.opencensus.trace API for distributed tracing. -
-
Uses of SpanBuilder in io.opencensus.implcore.trace
Subclasses of SpanBuilder in io.opencensus.implcore.trace Modifier and Type Class Description (package private) class
SpanBuilderImpl
Implementation of theSpanBuilder
.Methods in io.opencensus.implcore.trace that return SpanBuilder Modifier and Type Method Description SpanBuilder
TracerImpl. spanBuilderWithExplicitParent(java.lang.String spanName, Span parent)
SpanBuilder
TracerImpl. spanBuilderWithRemoteParent(java.lang.String spanName, SpanContext remoteParentSpanContext)
-
Uses of SpanBuilder in io.opencensus.trace
Subclasses of SpanBuilder in io.opencensus.trace Modifier and Type Class Description (package private) static class
SpanBuilder.NoopSpanBuilder
Methods in io.opencensus.trace that return SpanBuilder Modifier and Type Method Description SpanBuilder
SpanBuilder.NoopSpanBuilder. setParentLinks(java.util.List<Span> parentLinks)
abstract SpanBuilder
SpanBuilder. setParentLinks(java.util.List<Span> parentLinks)
Sets theList
of parent links.SpanBuilder
SpanBuilder.NoopSpanBuilder. setRecordEvents(boolean recordEvents)
abstract SpanBuilder
SpanBuilder. setRecordEvents(boolean recordEvents)
Sets the optionSpan.Options.RECORD_EVENTS
for the newly createdSpan
.SpanBuilder
SpanBuilder.NoopSpanBuilder. setSampler(Sampler sampler)
abstract SpanBuilder
SpanBuilder. setSampler(Sampler sampler)
Sets theSampler
to use.SpanBuilder
SpanBuilder.NoopSpanBuilder. setSpanKind(Span.Kind spanKind)
SpanBuilder
SpanBuilder. setSpanKind(Span.Kind spanKind)
Sets theSpan.Kind
for the newly createdSpan
.SpanBuilder
Tracer. spanBuilder(java.lang.String spanName)
Returns aSpanBuilder
to create and start a new childSpan
as a child of to the currentSpan
if any, otherwise creates a rootSpan
.SpanBuilder
Tracer.NoopTracer. spanBuilderWithExplicitParent(java.lang.String spanName, Span parent)
abstract SpanBuilder
Tracer. spanBuilderWithExplicitParent(java.lang.String spanName, Span parent)
Returns aSpanBuilder
to create and start a new childSpan
(or root if parent isnull
or has an invalidSpanContext
), with parent being the designatedSpan
.SpanBuilder
Tracer.NoopTracer. spanBuilderWithRemoteParent(java.lang.String spanName, SpanContext remoteParentSpanContext)
abstract SpanBuilder
Tracer. spanBuilderWithRemoteParent(java.lang.String spanName, SpanContext remoteParentSpanContext)
Returns aSpanBuilder
to create and start a new childSpan
(or root if parent isSpanContext.INVALID
ornull
), with parent being the remoteSpan
designated by theSpanContext
.
-