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) classSpanBuilderImplImplementation of theSpanBuilder.Methods in io.opencensus.implcore.trace that return SpanBuilder Modifier and Type Method Description SpanBuilderTracerImpl. spanBuilderWithExplicitParent(java.lang.String spanName, Span parent)SpanBuilderTracerImpl. 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 classSpanBuilder.NoopSpanBuilderMethods in io.opencensus.trace that return SpanBuilder Modifier and Type Method Description SpanBuilderSpanBuilder.NoopSpanBuilder. setParentLinks(java.util.List<Span> parentLinks)abstract SpanBuilderSpanBuilder. setParentLinks(java.util.List<Span> parentLinks)Sets theListof parent links.SpanBuilderSpanBuilder.NoopSpanBuilder. setRecordEvents(boolean recordEvents)abstract SpanBuilderSpanBuilder. setRecordEvents(boolean recordEvents)Sets the optionSpan.Options.RECORD_EVENTSfor the newly createdSpan.SpanBuilderSpanBuilder.NoopSpanBuilder. setSampler(Sampler sampler)abstract SpanBuilderSpanBuilder. setSampler(Sampler sampler)Sets theSamplerto use.SpanBuilderSpanBuilder.NoopSpanBuilder. setSpanKind(Span.Kind spanKind)SpanBuilderSpanBuilder. setSpanKind(Span.Kind spanKind)Sets theSpan.Kindfor the newly createdSpan.SpanBuilderTracer. spanBuilder(java.lang.String spanName)Returns aSpanBuilderto create and start a new childSpanas a child of to the currentSpanif any, otherwise creates a rootSpan.SpanBuilderTracer.NoopTracer. spanBuilderWithExplicitParent(java.lang.String spanName, Span parent)abstract SpanBuilderTracer. spanBuilderWithExplicitParent(java.lang.String spanName, Span parent)Returns aSpanBuilderto create and start a new childSpan(or root if parent isnullor has an invalidSpanContext), with parent being the designatedSpan.SpanBuilderTracer.NoopTracer. spanBuilderWithRemoteParent(java.lang.String spanName, SpanContext remoteParentSpanContext)abstract SpanBuilderTracer. spanBuilderWithRemoteParent(java.lang.String spanName, SpanContext remoteParentSpanContext)Returns aSpanBuilderto create and start a new childSpan(or root if parent isSpanContext.INVALIDornull), with parent being the remoteSpandesignated by theSpanContext.
-