Uses of Class
io.opencensus.trace.SpanBuilder
Packages that use SpanBuilder
-
Uses of SpanBuilder in io.opencensus.implcore.trace
Subclasses of SpanBuilder in io.opencensus.implcore.traceModifier and TypeClassDescription(package private) final classImplementation of theSpanBuilder.Methods in io.opencensus.implcore.trace that return SpanBuilderModifier and TypeMethodDescriptionTracerImpl.spanBuilderWithExplicitParent(String spanName, Span parent) TracerImpl.spanBuilderWithRemoteParent(String spanName, SpanContext remoteParentSpanContext) -
Uses of SpanBuilder in io.opencensus.trace
Subclasses of SpanBuilder in io.opencensus.traceModifier and TypeClassDescription(package private) static final classMethods in io.opencensus.trace that return SpanBuilderModifier and TypeMethodDescriptionSpanBuilder.NoopSpanBuilder.setParentLinks(List<Span> parentLinks) abstract SpanBuilderSpanBuilder.setParentLinks(List<Span> parentLinks) Sets theListof parent links.SpanBuilder.NoopSpanBuilder.setRecordEvents(boolean recordEvents) abstract SpanBuilderSpanBuilder.setRecordEvents(boolean recordEvents) Sets the optionSpan.Options.RECORD_EVENTSfor the newly createdSpan.SpanBuilder.NoopSpanBuilder.setSampler(Sampler sampler) abstract SpanBuilderSpanBuilder.setSampler(Sampler sampler) Sets theSamplerto use.SpanBuilder.NoopSpanBuilder.setSpanKind(Span.Kind spanKind) SpanBuilder.setSpanKind(Span.Kind spanKind) Sets theSpan.Kindfor the newly createdSpan.final SpanBuilderTracer.spanBuilder(String spanName) Returns aSpanBuilderto create and start a new childSpanas a child of to the currentSpanif any, otherwise creates a rootSpan.Tracer.NoopTracer.spanBuilderWithExplicitParent(String spanName, Span parent) abstract SpanBuilderTracer.spanBuilderWithExplicitParent(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.Tracer.NoopTracer.spanBuilderWithRemoteParent(String spanName, SpanContext remoteParentSpanContext) abstract SpanBuilderTracer.spanBuilderWithRemoteParent(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.