Searched refs:SpanBuilder (Results 1 – 14 of 14) sorted by relevance
109 public abstract class SpanBuilder { class118 public abstract SpanBuilder setSampler(Sampler sampler); in setSampler()130 public abstract SpanBuilder setParentLinks(List<Span> parentLinks); in setParentLinks()140 public abstract SpanBuilder setRecordEvents(boolean recordEvents); in setRecordEvents()150 public SpanBuilder setSpanKind(@Nullable Span.Kind spanKind) { in setSpanKind()317 static final class NoopSpanBuilder extends SpanBuilder {333 public SpanBuilder setSampler(@Nullable Sampler sampler) { in setSampler()338 public SpanBuilder setParentLinks(List<Span> parentLinks) { in setParentLinks()343 public SpanBuilder setRecordEvents(boolean recordEvents) { in setRecordEvents()348 public SpanBuilder setSpanKind(@Nullable Span.Kind spanKind) { in setSpanKind()
22 import io.opencensus.trace.SpanBuilder.NoopSpanBuilder;307 public final SpanBuilder spanBuilder(String spanName) { in spanBuilder()328 public abstract SpanBuilder spanBuilderWithExplicitParent(String spanName, @Nullable Span parent); in spanBuilderWithExplicitParent()349 public abstract SpanBuilder spanBuilderWithRemoteParent( in spanBuilderWithRemoteParent()356 public SpanBuilder spanBuilderWithExplicitParent(String spanName, @Nullable Span parent) { in spanBuilderWithExplicitParent()361 public SpanBuilder spanBuilderWithRemoteParent( in spanBuilderWithRemoteParent()
22 import io.opencensus.trace.SpanBuilder;42 public SpanBuilder spanBuilderWithExplicitParent(String spanName, @Nullable Span parent) { in spanBuilderWithExplicitParent()47 public SpanBuilder spanBuilderWithRemoteParent( in spanBuilderWithRemoteParent()
29 import io.opencensus.trace.SpanBuilder;43 final class SpanBuilderImpl extends SpanBuilder {
25 import io.opencensus.trace.SpanBuilder;52 SpanBuilder spanBuilder = tracer.spanBuilderWithExplicitParent(SPAN_NAME, BlankSpan.INSTANCE); in createSpanBuilder()58 SpanBuilder spanBuilder = tracer.spanBuilderWithRemoteParent(SPAN_NAME, SpanContext.INVALID); in createSpanBuilderWithRemoteParet()
46 import io.opencensus.trace.SpanBuilder;368 public static class Builder extends SpanBuilder {371 public SpanBuilder setSampler(Sampler sampler) {376 public SpanBuilder setParentLinks(List<Span> parentLinks) {381 public SpanBuilder setRecordEvents(boolean recordEvents) {
41 @Mock private SpanBuilder spanBuilder;97 SpanBuilder spanBuilder = tracer.spanBuilder("MySpanName"); in doNotCrash_NoopImplementation()
41 @Mock private SpanBuilder spanBuilder;
29 import io.opencensus.trace.SpanBuilder;52 SpanBuilder spanBuilder = in recordExampleData()
34 import io.opencensus.trace.SpanBuilder;80 SpanBuilder spanBuilder = in main()
35 import io.opencensus.trace.SpanBuilder;80 SpanBuilder spanBuilder = in greet()
38 import io.opencensus.trace.SpanBuilder;62 SpanBuilder spanBuilder = in performWork()
37 import io.opencensus.trace.SpanBuilder;103 SpanBuilder spanBuilder = in exportToJaeger()
74 import io.opencensus.trace.SpanBuilder;157 private final SpanBuilder spyClientSpanBuilder = spy(new MockableSpan.Builder());158 private final SpanBuilder spyServerSpanBuilder = spy(new MockableSpan.Builder());