Home
last modified time | relevance | path

Searched refs:spanBuilderWithExplicitParent (Results 1 – 13 of 13) sorted by relevance

/external/opencensus-java/benchmarks/src/jmh/java/io/opencensus/benchmarks/trace/
DStartEndSpanBenchmark.java55 .spanBuilderWithExplicitParent(SPAN_NAME, null) in setup()
77 .spanBuilderWithExplicitParent(SPAN_NAME, null) in startEndNonSampledRootSpan()
94 .spanBuilderWithExplicitParent(SPAN_NAME, null) in startEndRecordEventsRootSpan()
124 .spanBuilderWithExplicitParent(SPAN_NAME, data.rootSpan) in startEndNonSampledChildSpan()
141 .spanBuilderWithExplicitParent(SPAN_NAME, data.rootSpan) in startEndRecordEventsChildSpan()
158 .spanBuilderWithExplicitParent(SPAN_NAME, data.rootSpan) in startEndSampledChildSpan()
DRecordTraceEventsBenchmark.java64 .spanBuilderWithExplicitParent(SPAN_NAME, null) in setup()
69 .spanBuilderWithExplicitParent(SPAN_NAME, null) in setup()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DTracer.java308 return spanBuilderWithExplicitParent(spanName, CurrentSpanUtils.getCurrentSpan()); in spanBuilder()
328 public abstract SpanBuilder spanBuilderWithExplicitParent(String spanName, @Nullable Span parent); in spanBuilderWithExplicitParent() method in Tracer
356 public SpanBuilder spanBuilderWithExplicitParent(String spanName, @Nullable Span parent) { in spanBuilderWithExplicitParent() method in Tracer.NoopTracer
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DTracerTest.java123 noopTracer.spanBuilderWithExplicitParent(null, null); in spanBuilderWithParentAndName_NullName()
128 assertThat(noopTracer.spanBuilderWithExplicitParent(SPAN_NAME, null).startSpan()) in defaultSpanBuilderWithParentAndName()
154 when(tracer.spanBuilderWithExplicitParent(same(SPAN_NAME), same(span))) in startSpanWithParentFromContext()
167 when(tracer.spanBuilderWithExplicitParent(same(SPAN_NAME), same(BlankSpan.INSTANCE))) in startSpanWithInvalidParentFromContext()
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/trace/
DMultiSpansTracing.java36 Span rootSpan = tracer.spanBuilderWithExplicitParent("MyRootSpan", null).startSpan(); in doWork()
38 Span childSpan = tracer.spanBuilderWithExplicitParent("MyChildSpan", rootSpan).startSpan(); in doWork()
DMultiSpansScopedTracing.java77 try (Scope ss = tracer.spanBuilderWithExplicitParent("MyRootSpan", null).startScopedSpan()) { in main()
DMultiSpansContextTracing.java79 Span span = tracer.spanBuilderWithExplicitParent("MyRootSpan", null).startSpan(); in main()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/
DTracerImpl.java42 public SpanBuilder spanBuilderWithExplicitParent(String spanName, @Nullable Span parent) { in spanBuilderWithExplicitParent() method in TracerImpl
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/
DTracerImplTest.java52 SpanBuilder spanBuilder = tracer.spanBuilderWithExplicitParent(SPAN_NAME, BlankSpan.INSTANCE); in createSpanBuilder()
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DZPageHttpHandler.java55 .spanBuilderWithExplicitParent(httpServerSpanName, null) in handle()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DCensusModulesTest.java184 when(tracer.spanBuilderWithExplicitParent(anyString(), any(Span.class))) in setUp()
294 verify(tracer).spanBuilderWithExplicitParent( in testClientInterceptors()
298 verify(tracer).spanBuilderWithExplicitParent( in testClientInterceptors()
433 verify(tracer).spanBuilderWithExplicitParent( in clientBasicTracingDefaultSpan()
527 verify(tracer).spanBuilderWithExplicitParent( in clientStreamNeverCreatedStillRecordTracing()
700 verify(tracer).spanBuilderWithExplicitParent( in traceHeadersPropagateSpanContext()
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/grpc/helloworld/
DHelloWorldServer.java64 .spanBuilderWithExplicitParent("internal_work", parent) in performWork()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DCensusTracingModule.java237 .spanBuilderWithExplicitParent( in ClientCallTracer()