Home
last modified time | relevance | path

Searched refs:CONTEXT_SPAN_KEY (Results 1 – 9 of 9) sorted by relevance

/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DCurrentSpanUtils.java37 return ContextUtils.CONTEXT_SPAN_KEY.get(); in getCurrentSpan()
93 origContext = Context.current().withValue(ContextUtils.CONTEXT_SPAN_KEY, span).attach(); in ScopeInSpan()
120 Context.current().withValue(ContextUtils.CONTEXT_SPAN_KEY, span).attach(); in run()
154 Context.current().withValue(ContextUtils.CONTEXT_SPAN_KEY, span).attach(); in call()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DCensusTracingModule.java20 import static io.opencensus.trace.unsafe.ContextUtils.CONTEXT_SPAN_KEY;
344 return context.withValue(CONTEXT_SPAN_KEY, span); in filterContext()
384 final ClientCallTracer tracerFactory = newClientCallTracer(CONTEXT_SPAN_KEY.get(), method); in interceptCall()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/unsafe/
DContextUtils.java43 public static final Context.Key</*@Nullable*/ Span> CONTEXT_SPAN_KEY = field in ContextUtils
/external/opencensus-java/contrib/spring_sleuth_v1x/src/main/java/io/opencensus/contrib/spring/sleuth/v1x/
DOpenCensusSleuthSpanContextHolder.java147 Context.current().withValue(ContextUtils.CONTEXT_SPAN_KEY, this.ocSpan); in SpanContext()
/external/opencensus-java/contrib/log_correlation/stackdriver/src/main/java/io/opencensus/contrib/logcorrelation/stackdriver/
DOpenCensusTraceLoggingEnhancer.java198 Span span = ContextUtils.CONTEXT_SPAN_KEY.get(); in getCurrentSpanContext()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DCensusModulesTest.java252 ContextUtils.CONTEXT_SPAN_KEY, in testClientInterceptors()
262 assertNull(ContextUtils.CONTEXT_SPAN_KEY.get()); in testClientInterceptors()
715 assertSame(spyServerSpan, ContextUtils.CONTEXT_SPAN_KEY.get(filteredContext)); in traceHeadersPropagateSpanContext()
895 assertSame(spyServerSpan, ContextUtils.CONTEXT_SPAN_KEY.get(filteredContext)); in serverBasicTracingNoHeaders()
/external/opencensus-java/contrib/log_correlation/log4j2/src/main/java/io/opencensus/contrib/logcorrelation/log4j2/
DContextDataUtils.java149 Span span = ContextUtils.CONTEXT_SPAN_KEY.get(); in getCurrentSpanContext()
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DCurrentSpanUtilsTest.java77 Context origContext = Context.current().withValue(ContextUtils.CONTEXT_SPAN_KEY, span).attach(); in getCurrentSpan()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DAbstractInteropTest.java23 import static io.opencensus.trace.unsafe.ContextUtils.CONTEXT_SPAN_KEY;
1474 ContextUtils.CONTEXT_SPAN_KEY, in censusContextsPropagated()
1494 Span span = CONTEXT_SPAN_KEY.get(serverCtx); in censusContextsPropagated()