Home
last modified time | relevance | path

Searched refs:getSpanId (Results 1 – 25 of 27) sorted by relevance

12

/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DLinkTest.java51 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()
DSpanContextTest.java53 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/contrib/appengine_standard_util/src/test/java/io/opencensus/contrib/appengine/standard/util/
DAppEngineCloudTraceContextUtilsTest.java79 assertThat(newCloudTraceContext.getSpanId()).isEqualTo(cloudTraceContext.getSpanId()); in toFromSampledCloudTraceContext()
158 && obj1.getSpanId() == obj2.getSpanId() in cloudTraceContextEquals()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DLink.java70 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
DSpanContext.java92 public SpanId getSpanId() { in getSpanId() method in SpanContext
/external/opencensus-java/contrib/log_correlation/stackdriver/src/test/java/io/opencensus/contrib/logcorrelation/stackdriver/
DOpenCensusTraceLoggingEnhancerTest.java88 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/
DOpenCensusSleuthSpanTest.java61 assertThat(Long.parseLong(span.getContext().getSpanId().toLowerBase16(), 16)) in assertSpanEquals()
62 .isEqualTo(sleuthSpan.getSpanId()); in assertSpanEquals()
DOpenCensusSleuthSpanContextHolderTest.java146 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/
DAppEngineCloudTraceContextUtils.java64 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/
DOpenCensusSleuthTracer.java177 if (savedSpan != null && span.getParents().contains(savedSpan.getSpanId())) { in close()
221 .parent(parent.getSpanId()) in createChild()
240 .spanId(span.getSpanId()) in sampledSpan()
DOpenCensusSleuthSpan.java76 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/
DExemplarUtils.java67 measureMap.putAttachment(ATTACHMENT_KEY_SPAN_ID, spanContext.getSpanId().toLowerBase16()); in putSpanContextAttachments()
/external/opencensus-java/exporters/trace/jaeger/src/main/java/io/opencensus/exporter/trace/jaeger/
DJaegerExporterHandler.java198 spanIdToLong(context.getSpanId()), in spanDataToJaegerThriftSpan()
263 spanIdToLong(link.getSpanId()))); in linksToReferences()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/propagation/
DBinaryFormatImpl.java102 spanContext.getSpanId().copyBytesTo(bytes, SPAN_ID_OFFSET); in toByteArray()
DB3Format.java73 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/
DOpenCensusTraceLoggingEnhancer.java205 builder.setSpanId(span.getSpanId().toLowerBase16()); in addTracingData()
/external/opencensus-java/contrib/http_util/src/main/java/io/opencensus/contrib/http/util/
DCloudTraceFormat.java98 .append(UnsignedLongs.toString(spanIdToLong(spanContext.getSpanId()))) in inject()
/external/opencensus-java/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtils.java110 SpanId spanId = spanContext.getSpanId(); in toSpanProto()
299 .setSpanId(toByteString(link.getSpanId().getBytes())) in toLinkProto()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/
DSpanBuilderImplTest.java165 .isEqualTo(rootSpan.getContext().getSpanId()); in startChildSpan()
217 assertThat(spanData.getParentSpanId()).isEqualTo(spanContext.getSpanId()); in startRemoteSpan()
/external/opencensus-java/contrib/log_correlation/log4j2/src/main/java/io/opencensus/contrib/logcorrelation/log4j2/
DContextDataUtils.java141 spanContext.getSpanId().toLowerBase16()); in getShareableContextAndTracingData()
/external/opencensus-java/exporters/trace/zipkin/src/main/java/io/opencensus/exporter/trace/zipkin/
DZipkinExporterHandler.java116 .id(context.getSpanId().toLowerBase16()) in generateSpan()
/external/opencensus-java/exporters/trace/stackdriver/src/main/java/io/opencensus/exporter/trace/stackdriver/
DStackdriverV2ExporterHandler.java177 final String spanIdHex = context.getSpanId().toLowerBase16(); in generateSpan()
463 .setSpanId(link.getSpanId().toLowerBase16()) in toLinkProto()
/external/opencensus-java/exporters/trace/instana/src/main/java/io/opencensus/exporter/trace/instana/
DInstanaExporterHandler.java145 sb.append("\"spanId\":\"").append(encodeSpanId(spanContext.getSpanId())).append("\","); in convertToJson()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/
DSpanBuilderImpl.java84 parentSpanId = parent.getSpanId(); in startSpanInternal()
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DTracezZPageHandler.java296 .encode(span.getContext().getSpanId().getBytes()))) in emitSpans()
334 BaseEncoding.base16().lowerCase().encode(spanContext.getSpanId().getBytes()), in emitSingleSpan()

12