Home
last modified time | relevance | path

Searched refs:X_B3_SAMPLED (Results 1 – 2 of 2) sorted by relevance

/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/propagation/
DB3Format.java46 @VisibleForTesting static final String X_B3_SAMPLED = "X-B3-Sampled"; field in B3Format
51 X_B3_TRACE_ID, X_B3_SPAN_ID, X_B3_PARENT_SPAN_ID, X_B3_SAMPLED, X_B3_FLAGS));
75 setter.put(carrier, X_B3_SAMPLED, SAMPLED_VALUE); in inject()
104 if (SAMPLED_VALUE.equals(getter.get(carrier, X_B3_SAMPLED)) in extract()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/propagation/
DB3FormatTest.java22 import static io.opencensus.implcore.trace.propagation.B3Format.X_B3_SAMPLED;
78 X_B3_TRACE_ID, TRACE_ID_BASE16, X_B3_SPAN_ID, SPAN_ID_BASE16, X_B3_SAMPLED, "1"); in serialize_SampledContext()
103 headersSampled.put(X_B3_SAMPLED, "1"); in parseSampled()
113 headersNotSampled.put(X_B3_SAMPLED, "0"); in parseZeroSampled()
143 headersEightBytes.put(X_B3_SAMPLED, "1"); in parseEightBytesTraceId()
219 X_B3_TRACE_ID, X_B3_SPAN_ID, X_B3_PARENT_SPAN_ID, X_B3_SAMPLED, X_B3_FLAGS); in fields_list()