Searched refs:CONTEXT_SPAN_KEY (Results 1 – 9 of 9) sorted by relevance
/external/opencensus-java/api/src/main/java/io/opencensus/trace/ |
D | CurrentSpanUtils.java | 37 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/ |
D | CensusTracingModule.java | 20 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/ |
D | ContextUtils.java | 43 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/ |
D | OpenCensusSleuthSpanContextHolder.java | 147 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/ |
D | OpenCensusTraceLoggingEnhancer.java | 198 Span span = ContextUtils.CONTEXT_SPAN_KEY.get(); in getCurrentSpanContext()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | CensusModulesTest.java | 252 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/ |
D | ContextDataUtils.java | 149 Span span = ContextUtils.CONTEXT_SPAN_KEY.get(); in getCurrentSpanContext()
|
/external/opencensus-java/api/src/test/java/io/opencensus/trace/ |
D | CurrentSpanUtilsTest.java | 77 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/ |
D | AbstractInteropTest.java | 23 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()
|