Searched refs:X_B3_SPAN_ID (Results 1 – 2 of 2) sorted by relevance
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/propagation/ |
D | B3FormatTest.java | 23 import static io.opencensus.implcore.trace.propagation.B3Format.X_B3_SPAN_ID; 78 X_B3_TRACE_ID, TRACE_ID_BASE16, X_B3_SPAN_ID, SPAN_ID_BASE16, X_B3_SAMPLED, "1"); in serialize_SampledContext() 86 .containsExactly(X_B3_TRACE_ID, TRACE_ID_BASE16, X_B3_SPAN_ID, SPAN_ID_BASE16); in serialize_NotSampledContext() 93 headersNotSampled.put(X_B3_SPAN_ID, SPAN_ID_BASE16); in parseMissingSampledAndMissingFlag() 102 headersSampled.put(X_B3_SPAN_ID, SPAN_ID_BASE16); in parseSampled() 112 headersNotSampled.put(X_B3_SPAN_ID, SPAN_ID_BASE16); in parseZeroSampled() 122 headersFlagSampled.put(X_B3_SPAN_ID, SPAN_ID_BASE16); in parseFlag() 132 headersFlagNotSampled.put(X_B3_SPAN_ID, SPAN_ID_BASE16); in parseZeroFlag() 142 headersEightBytes.put(X_B3_SPAN_ID, SPAN_ID_BASE16); in parseEightBytesTraceId() 152 headersEightBytes.put(X_B3_SPAN_ID, SPAN_ID_BASE16); in parseEightBytesTraceId_NotSampledSpanContext() [all …]
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/propagation/ |
D | B3Format.java | 44 @VisibleForTesting static final String X_B3_SPAN_ID = "X-B3-SpanId"; field in B3Format 51 X_B3_TRACE_ID, X_B3_SPAN_ID, X_B3_PARENT_SPAN_ID, X_B3_SAMPLED, X_B3_FLAGS)); 73 setter.put(carrier, X_B3_SPAN_ID, spanContext.getSpanId().toLowerBase16()); in inject() 97 String spanIdStr = getter.get(carrier, X_B3_SPAN_ID); in extract()
|