Home
last modified time | relevance | path

Searched refs:SpanBuilder (Results 1 – 14 of 14) sorted by relevance

/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DSpanBuilder.java109 public abstract class SpanBuilder { class
118 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()
DTracer.java22 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()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/
DTracerImpl.java22 import io.opencensus.trace.SpanBuilder;
42 public SpanBuilder spanBuilderWithExplicitParent(String spanName, @Nullable Span parent) { in spanBuilderWithExplicitParent()
47 public SpanBuilder spanBuilderWithRemoteParent( in spanBuilderWithRemoteParent()
DSpanBuilderImpl.java29 import io.opencensus.trace.SpanBuilder;
43 final class SpanBuilderImpl extends SpanBuilder {
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/
DTracerImplTest.java25 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()
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DStatsTestUtils.java46 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) {
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DSpanBuilderTest.java41 @Mock private SpanBuilder spanBuilder;
97 SpanBuilder spanBuilder = tracer.spanBuilder("MySpanName"); in doNotCrash_NoopImplementation()
DTracerTest.java41 @Mock private SpanBuilder spanBuilder;
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/zpages/
DZPagesTester.java29 import io.opencensus.trace.SpanBuilder;
52 SpanBuilder spanBuilder = in recordExampleData()
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/helloworld/
DQuickStart.java34 import io.opencensus.trace.SpanBuilder;
80 SpanBuilder spanBuilder = in main()
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/grpc/helloworld/
DHelloWorldClient.java35 import io.opencensus.trace.SpanBuilder;
80 SpanBuilder spanBuilder = in greet()
DHelloWorldServer.java38 import io.opencensus.trace.SpanBuilder;
62 SpanBuilder spanBuilder = in performWork()
/external/opencensus-java/exporters/trace/jaeger/src/test/java/io/opencensus/exporter/trace/jaeger/
DJaegerExporterHandlerIntegrationTest.java37 import io.opencensus.trace.SpanBuilder;
103 SpanBuilder spanBuilder = in exportToJaeger()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DCensusModulesTest.java74 import io.opencensus.trace.SpanBuilder;
157 private final SpanBuilder spyClientSpanBuilder = spy(new MockableSpan.Builder());
158 private final SpanBuilder spyServerSpanBuilder = spy(new MockableSpan.Builder());