/external/opencensus-java/api/src/main/java/io/opencensus/trace/ |
SpanContext.java | 26 * trace_id} and {@link SpanId span_id}) associated with the {@link Span} and a set of {@link 35 private final SpanId spanId; 45 new SpanContext(TraceId.INVALID, SpanId.INVALID, TraceOptions.DEFAULT, TRACESTATE_DEFAULT); 51 * @param spanId the span identifier of the span context. 54 * @deprecated use {@link #create(TraceId, SpanId, TraceOptions, Tracestate)}. 57 public static SpanContext create(TraceId traceId, SpanId spanId, TraceOptions traceOptions) { 58 return create(traceId, spanId, traceOptions, TRACESTATE_DEFAULT); 65 * @param spanId the span identifier of the span context [all...] |
Sampler.java | 37 * @param spanId the {@link SpanId} for the new {@code Span}. 47 SpanId spanId,
|
/external/opencensus-java/contrib/spring_sleuth_v1x/src/test/java/io/opencensus/contrib/spring/sleuth/v1x/ |
OpenCensusSleuthSpanTest.java | 36 .spanId(23L) 49 .spanId(23L)
|
OpenCensusSleuthSpanContextHolderTest.java | 135 .spanId(sid)
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/ |
SpanBuilderImpl.java | 31 import io.opencensus.trace.SpanId; 72 SpanId spanId = SpanId.generateRandomId(random); 73 SpanId parentSpanId = null; 95 spanId, 102 SpanContext.create(traceId, spanId, traceOptions, tracestate), 112 SpanContext.create(traceId, spanId, traceOptions, tracestate)); 124 SpanId spanId, [all...] |
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/propagation/ |
B3Format.java | 23 import io.opencensus.trace.SpanId; 44 @VisibleForTesting static final String X_B3_SPAN_ID = "X-B3-SpanId"; 96 SpanId spanId; 99 spanId = SpanId.fromLowerBase16(spanIdStr); 108 return SpanContext.create(traceId, spanId, traceOptions, TRACESTATE_DEFAULT);
|
BinaryFormatImpl.java | 23 import io.opencensus.trace.SpanId; 46 * <li>SpanId: (field_id = 1, len = 8, default = "00000000") - 8-byte array 86 @VisibleForTesting static final int TRACE_OPTION_FIELD_ID_OFFSET = SPAN_ID_OFFSET + SpanId.SIZE; 90 private static final int REQUIRED_FORMAT_LENGTH = 3 * ID_SIZE + TraceId.SIZE + SpanId.SIZE; 120 SpanId spanId; 131 spanId = SpanId.fromBytes(bytes, pos + ID_SIZE); 132 pos += ID_SIZE + SpanId.SIZE; 146 return SpanContext.create(traceId, spanId, traceOptions, TRACESTATE_DEFAULT) [all...] |
/external/opencensus-java/api/src/main/java/io/opencensus/trace/samplers/ |
AlwaysSampleSampler.java | 22 import io.opencensus.trace.SpanId; 40 SpanId spanId,
|
NeverSampleSampler.java | 22 import io.opencensus.trace.SpanId; 40 SpanId spanId,
|
ProbabilitySampler.java | 24 import io.opencensus.trace.SpanId; 78 SpanId spanId,
|
/external/opencensus-java/contrib/http_util/src/main/java/io/opencensus/contrib/http/util/ |
CloudTraceFormat.java | 25 import io.opencensus.trace.SpanId; 122 SpanId spanId = longToSpanId(UnsignedLongs.parseUnsignedLong(spanIdStr.toString(), 10)); 130 return SpanContext.create(traceId, spanId, traceOptions, TRACESTATE_DEFAULT); 137 private static SpanId longToSpanId(long x) { 138 ByteBuffer buffer = ByteBuffer.allocate(SpanId.SIZE); 140 return SpanId.fromBytes(buffer.array()); 144 private static long spanIdToLong(SpanId spanId) { 145 ByteBuffer buffer = ByteBuffer.allocate(SpanId.SIZE) [all...] |
/external/opencensus-java/contrib/http_util/src/test/java/io/opencensus/contrib/http/util/ |
CloudTraceFormatTest.java | 28 import io.opencensus.trace.SpanId; 68 private static final SpanId SPAN_ID = SpanId.fromLowerBase16(SPAN_ID_BASE16); 69 private static final SpanId SPAN_ID_MAX = 70 SpanId.fromLowerBase16(SPAN_ID_BASE16_MAX_UNSIGNED_LONG); 93 private static String constructHeader(String traceId, String spanId) { 94 return traceId + SPAN_ID_DELIMITER + spanId; 97 private static String constructHeader(String traceId, String spanId, String traceOptions) { 98 return traceId + SPAN_ID_DELIMITER + spanId + TRACE_OPTION_DELIMITER + traceOptions; 287 final String spanId = "1" [all...] |
/external/opencensus-java/api/src/test/java/io/opencensus/trace/samplers/ |
SamplersTest.java | 25 import io.opencensus.trace.SpanId; 44 private final SpanId parentSpanId = SpanId.generateRandomId(random); 45 private final SpanId spanId = SpanId.generateRandomId(random); 62 spanId, 73 spanId, 93 spanId, 104 spanId, [all...] |
/external/opencensus-java/contrib/spring_sleuth_v1x/src/main/java/io/opencensus/contrib/spring/sleuth/v1x/ |
OpenCensusSleuthTracer.java | 122 .spanId(id) 207 .spanId(id) 222 .spanId(id) 240 .spanId(span.getSpanId())
|
/external/opencensus-java/exporters/trace/instana/src/main/java/io/opencensus/exporter/trace/instana/ |
InstanaExporterHandler.java | 32 import io.opencensus.trace.SpanId; 80 private static String encodeSpanId(SpanId spanId) { 81 return BaseEncoding.base16().lowerCase().encode(spanId.getBytes()); 134 final SpanId parentSpanId = span.getParentSpanId(); 145 sb.append("\"spanId\":\"").append(encodeSpanId(spanContext.getSpanId())).append("\",");
|
/external/opencensus-java/exporters/trace/jaeger/src/test/java/io/opencensus/exporter/trace/jaeger/ |
JaegerExporterHandlerTest.java | 43 import io.opencensus.trace.SpanId; 72 SpanId.fromBytes(new byte[] {(byte) 0x7F, FF, FF, FF, FF, FF, FF, FF}), 93 assertThat(span.spanId).isEqualTo(256L); 126 assertThat(reference.spanId).isEqualTo(512L); 133 SpanId.fromBytes(new byte[] {0, 0, 0, 0, 0, 0, 1, 0}), 171 SpanId.fromBytes(new byte[] {0, 0, 0, 0, 0, 0, 2, 0}),
|
/external/opencensus-java/exporters/trace/jaeger/src/main/java/io/opencensus/exporter/trace/jaeger/ |
JaegerExporterHandler.java | 45 import io.opencensus.trace.SpanId; 136 private final byte[] spanIdBuffer = new byte[SpanId.SIZE]; 238 private long spanIdToLong(final @Nullable SpanId spanId) { 239 if (spanId == null) { 242 // Attempt to minimise allocations, since SpanId#getBytes currently creates a defensive copy: 243 spanId.copyBytesTo(spanIdBuffer, 0);
|
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/ |
TraceProtoUtilsTest.java | 42 import io.opencensus.trace.SpanId; 104 private static final SpanId parentSpanId = SpanId.fromLowerBase16(PARENT_SPAN_ID); 105 private static final SpanId spanId = SpanId.fromLowerBase16(SPAN_ID); 109 SpanContext.create(traceId, spanId, traceOptions, multiValueTracestate); 221 .setSpanId(toByteString(spanId.getBytes())) 246 assertThat(span.getSpanId()).isEqualTo(toByteString(spanId.getBytes()));
|
/external/opencensus-java/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/ |
TraceProtoUtils.java | 47 import io.opencensus.trace.SpanId; 110 SpanId spanId = spanContext.getSpanId(); 114 .setSpanId(toByteString(spanId.getBytes())) 148 SpanId parentSpanId = spanData.getParentSpanId();
|
/external/opencensus-java/exporters/trace/stackdriver/src/test/java/io/opencensus/exporter/trace/stackdriver/ |
StackdriverV2ExporterHandlerProtoTest.java | 47 import io.opencensus.trace.SpanId; 103 private static final SpanId parentSpanId = SpanId.fromLowerBase16(PARENT_SPAN_ID); 104 private static final SpanId spanId = SpanId.fromLowerBase16(SPAN_ID); 107 private static final SpanContext spanContext = SpanContext.create(traceId, spanId, traceOptions);
|
/external/autotest/venv/lucifer/ |
handlers.py | 281 'HQE', spanId='0', traceId=hqe_trace_id(hqe.id))
|
/external/autotest/scheduler/ |
scheduler_models.py | 704 span = cloud_trace.Span('HQE', spanId='0', [all...] |