/external/opencensus-java/api/src/main/java/io/opencensus/trace/ |
D | Tracer.java | 153 public final Scope withSpan(Span span) { in withSpan() method in Tracer 154 return CurrentSpanUtils.withSpan(Utils.checkNotNull(span, "span"), /* endSpan= */ false); in withSpan() 218 public final Runnable withSpan(Span span, Runnable runnable) { in withSpan() method in Tracer 219 return CurrentSpanUtils.withSpan(span, /* endSpan= */ false, runnable); in withSpan() 283 public final <C> Callable<C> withSpan(Span span, final Callable<C> callable) { in withSpan() method in Tracer 284 return CurrentSpanUtils.withSpan(span, /* endSpan= */ false, callable); in withSpan()
|
D | SpanBuilder.java | 252 return CurrentSpanUtils.withSpan(startSpan(), /* endSpan= */ true); in startScopedSpan() 282 CurrentSpanUtils.withSpan(span, /* endSpan= */ true, runnable).run(); in startSpanAndRun() 314 return CurrentSpanUtils.withSpan(span, /* endSpan= */ true, callable).call(); in startSpanAndCall()
|
D | CurrentSpanUtils.java | 51 static Scope withSpan(Span span, boolean endSpan) { in withSpan() method in CurrentSpanUtils 63 static Runnable withSpan(Span span, boolean endSpan, Runnable runnable) { in withSpan() method in CurrentSpanUtils 75 static <C> Callable<C> withSpan(Span span, boolean endSpan, Callable<C> callable) { in withSpan() method in CurrentSpanUtils
|
/external/opencensus-java/api/src/test/java/io/opencensus/trace/ |
D | TracerTest.java | 56 noopTracer.withSpan(null); in withSpan_NullSpan() 62 Scope ws = noopTracer.withSpan(span); in getCurrentSpan_WithSpan() 76 tracer.withSpan( in wrapRunnable() 96 tracer.withSpan( in wrapCallable() 151 Scope ws = tracer.withSpan(span); in startSpanWithParentFromContext() 164 Scope ws = tracer.withSpan(BlankSpan.INSTANCE); in startSpanWithInvalidParentFromContext()
|
D | CurrentSpanUtilsTest.java | 49 CurrentSpanUtils.withSpan(span, true, runnable).run(); in executeRunnableAndExpectError() 61 CurrentSpanUtils.withSpan(span, true, callable).call(); in executeCallableAndExpectError() 90 Scope ws = CurrentSpanUtils.withSpan(span, false); in withSpan_CloseDetaches() 103 Scope ss = CurrentSpanUtils.withSpan(span, true); in withSpan_CloseDetachesAndEndsSpan() 124 CurrentSpanUtils.withSpan(span, false, runnable).run(); in withSpanRunnable() 140 CurrentSpanUtils.withSpan(span, true, runnable).run(); in withSpanRunnable_EndSpan() 196 assertThat(CurrentSpanUtils.withSpan(span, false, callable).call()).isEqualTo(ret); in withSpanCallable() 214 assertThat(CurrentSpanUtils.withSpan(span, true, callable).call()).isEqualTo(ret); in withSpanCallable_EndSpan()
|
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/trace/ |
D | MultiSpansContextTracing.java | 46 try (Scope ws = tracer.withSpan(span)) { in doSomeMoreWork() 80 try (Scope ws = tracer.withSpan(span)) { in main()
|
/external/opencensus-java/contrib/log_correlation/log4j2/src/test/java/io/opencensus/contrib/logcorrelation/log4j2/ |
D | OpenCensusTraceContextDataInjectorTest.java | 161 Scope scope = tracer.withSpan(new TestSpan(spanContext)); in rawContextDataWithTracingData() 194 Scope scope = tracer.withSpan(new TestSpan(spanContext)); in rawContextDataWithoutTracingData()
|
D | AbstractOpenCensusLog4jLogCorrelationTest.java | 90 Scope scope = tracer.withSpan(new TestSpan(spanContext)); in logWithSpan()
|
/external/opencensus-java/exporters/stats/prometheus/src/main/java/io/opencensus/exporter/stats/prometheus/ |
D | PrometheusStatsCollector.java | 104 Scope scope = tracer.withSpan(span); in collect() 145 Scope scope = tracer.withSpan(span); in describe()
|
/external/opencensus-java/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/ |
D | StackdriverExporterWorker.java | 222 Scope scope = tracer.withSpan(span); in run()
|
/external/opencensus-java/contrib/log_correlation/stackdriver/src/test/java/io/opencensus/contrib/logcorrelation/stackdriver/ |
D | OpenCensusTraceLoggingEnhancerTest.java | 180 Scope scope = tracer.withSpan(span); in getEnhancedLogEntry()
|