/external/opencensus-java/api/src/test/java/io/opencensus/trace/ |
D | LinkTest.java | 51 assertThat(link.getSpanId()).isEqualTo(spanContext.getSpanId()); in fromSpanContext_ChildLink() 59 assertThat(link.getSpanId()).isEqualTo(spanContext.getSpanId()); in fromSpanContext_ChildLink_WithAttributes() 68 assertThat(link.getSpanId()).isEqualTo(spanContext.getSpanId()); in fromSpanContext_ParentLink() 76 assertThat(link.getSpanId()).isEqualTo(spanContext.getSpanId()); in fromSpanContext_ParentLink_WithAttributes() 103 assertThat(link.toString()).contains(spanContext.getSpanId().toString()); in link_ToString() 108 assertThat(link.toString()).contains(spanContext.getSpanId().toString()); in link_ToString()
|
D | SpanContextTest.java | 53 assertThat(SpanContext.INVALID.getSpanId()).isEqualTo(SpanId.INVALID); in invalidSpanContext() 81 public void getSpanId() { in getSpanId() method in SpanContextTest 82 assertThat(first.getSpanId()).isEqualTo(SpanId.fromBytes(firstSpanIdBytes)); in getSpanId() 83 assertThat(second.getSpanId()).isEqualTo(SpanId.fromBytes(secondSpanIdBytes)); in getSpanId()
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/ |
D | Link.java | 70 return new AutoValue_Link(context.getTraceId(), context.getSpanId(), type, EMPTY_ATTRIBUTES); in fromSpanContext() 86 context.getSpanId(), in fromSpanContext() 105 public abstract SpanId getSpanId(); in getSpanId() method in Link
|
D | SpanContext.java | 92 public SpanId getSpanId() { in getSpanId() method in SpanContext
|
/external/opencensus-java/contrib/appengine_standard_util/src/test/java/io/opencensus/contrib/appengine/standard/util/ |
D | AppEngineCloudTraceContextUtilsTest.java | 79 assertThat(newCloudTraceContext.getSpanId()).isEqualTo(cloudTraceContext.getSpanId()); in toFromSampledCloudTraceContext() 158 && obj1.getSpanId() == obj2.getSpanId() in cloudTraceContextEquals()
|
/external/opencensus-java/contrib/log_correlation/stackdriver/src/test/java/io/opencensus/contrib/logcorrelation/stackdriver/ |
D | OpenCensusTraceLoggingEnhancerTest.java | 88 assertThat(logEntry.getSpanId()).isEqualTo("592ae363e92cb3dd"); in enhanceLogEntry_AddSampledSpanToLogEntryWithSampledSpans() 105 assertThat(logEntry.getSpanId()).isEqualTo("de52e84d13dd232d"); in enhanceLogEntry_AddSampledSpanToLogEntryWithAllSpans() 150 assertThat(logEntry.getSpanId()).isEqualTo("731e102335b7a5a0"); in enhanceLogEntry_AddNonSampledSpanToLogEntryWithAllSpans() 162 assertThat(logEntry.getSpanId()).isEqualTo("0000000000000000"); in enhanceLogEntry_AddBlankSpanToLogEntryWithAllSpans() 193 assertThat(logEntry.getSpanId()).isNull(); in assertContainsNoTracingData()
|
/external/opencensus-java/contrib/spring_sleuth_v1x/src/test/java/io/opencensus/contrib/spring/sleuth/v1x/ |
D | OpenCensusSleuthSpanTest.java | 61 assertThat(Long.parseLong(span.getContext().getSpanId().toLowerBase16(), 16)) in assertSpanEquals() 62 .isEqualTo(sleuthSpan.getSpanId()); in assertSpanEquals()
|
D | OpenCensusSleuthSpanContextHolderTest.java | 146 assertThat(Long.parseLong(span.getContext().getSpanId().toLowerBase16(), 16)) in assertSpanEquals() 147 .isEqualTo(sleuthSpan.getSpanId()); in assertSpanEquals()
|
/external/opencensus-java/contrib/appengine_standard_util/src/main/java/io/opencensus/contrib/appengine/standard/util/ |
D | AppEngineCloudTraceContextUtils.java | 64 spanIdBuf.putLong(cloudTraceContext.getSpanId()); in fromCloudTraceContext() 89 ByteBuffer spanIdBuf = ByteBuffer.wrap(spanContext.getSpanId().getBytes()); in toCloudTraceContext()
|
/external/opencensus-java/contrib/spring_sleuth_v1x/src/main/java/io/opencensus/contrib/spring/sleuth/v1x/ |
D | OpenCensusSleuthTracer.java | 177 if (savedSpan != null && span.getParents().contains(savedSpan.getSpanId())) { in close() 221 .parent(parent.getSpanId()) in createChild() 240 .spanId(span.getSpanId()) in sampledSpan()
|
D | OpenCensusSleuthSpan.java | 76 SpanId.fromBytes(ByteBuffer.allocate(SpanId.SIZE).putLong(span.getSpanId()).array()), in fromSleuthSpan()
|
/external/opencensus-java/contrib/exemplar_util/src/main/java/io/opencensus/contrib/exemplar/util/ |
D | ExemplarUtils.java | 67 measureMap.putAttachment(ATTACHMENT_KEY_SPAN_ID, spanContext.getSpanId().toLowerBase16()); in putSpanContextAttachments()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/propagation/ |
D | BinaryFormatImpl.java | 102 spanContext.getSpanId().copyBytesTo(bytes, SPAN_ID_OFFSET); in toByteArray()
|
D | B3Format.java | 73 setter.put(carrier, X_B3_SPAN_ID, spanContext.getSpanId().toLowerBase16()); in inject()
|
/external/opencensus-java/contrib/log_correlation/stackdriver/src/main/java/io/opencensus/contrib/logcorrelation/stackdriver/ |
D | OpenCensusTraceLoggingEnhancer.java | 205 builder.setSpanId(span.getSpanId().toLowerBase16()); in addTracingData()
|
/external/opencensus-java/exporters/trace/jaeger/src/main/java/io/opencensus/exporter/trace/jaeger/ |
D | JaegerExporterHandler.java | 198 spanIdToLong(context.getSpanId()), in spanDataToJaegerThriftSpan() 263 spanIdToLong(link.getSpanId()))); in linksToReferences()
|
/external/opencensus-java/contrib/http_util/src/main/java/io/opencensus/contrib/http/util/ |
D | CloudTraceFormat.java | 98 .append(UnsignedLongs.toString(spanIdToLong(spanContext.getSpanId()))) in inject()
|
/external/opencensus-java/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/ |
D | TraceProtoUtils.java | 110 SpanId spanId = spanContext.getSpanId(); in toSpanProto() 299 .setSpanId(toByteString(link.getSpanId().getBytes())) in toLinkProto()
|
/external/opencensus-java/contrib/log_correlation/log4j2/src/main/java/io/opencensus/contrib/logcorrelation/log4j2/ |
D | ContextDataUtils.java | 141 spanContext.getSpanId().toLowerBase16()); in getShareableContextAndTracingData()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/ |
D | SpanBuilderImplTest.java | 165 .isEqualTo(rootSpan.getContext().getSpanId()); in startChildSpan() 217 assertThat(spanData.getParentSpanId()).isEqualTo(spanContext.getSpanId()); in startRemoteSpan()
|
/external/opencensus-java/exporters/trace/zipkin/src/main/java/io/opencensus/exporter/trace/zipkin/ |
D | ZipkinExporterHandler.java | 116 .id(context.getSpanId().toLowerBase16()) in generateSpan()
|
/external/opencensus-java/exporters/trace/instana/src/main/java/io/opencensus/exporter/trace/instana/ |
D | InstanaExporterHandler.java | 145 sb.append("\"spanId\":\"").append(encodeSpanId(spanContext.getSpanId())).append("\","); in convertToJson()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/ |
D | SpanBuilderImpl.java | 84 parentSpanId = parent.getSpanId(); in startSpanInternal()
|
/external/opencensus-java/exporters/trace/stackdriver/src/main/java/io/opencensus/exporter/trace/stackdriver/ |
D | StackdriverV2ExporterHandler.java | 177 final String spanIdHex = context.getSpanId().toLowerBase16(); in generateSpan() 463 .setSpanId(link.getSpanId().toLowerBase16()) in toLinkProto()
|
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/ |
D | TracezZPageHandler.java | 296 .encode(span.getContext().getSpanId().getBytes()))) in emitSpans() 334 BaseEncoding.base16().lowerCase().encode(spanContext.getSpanId().getBytes()), in emitSingleSpan()
|