/external/opencensus-java/api/src/test/java/io/opencensus/trace/ |
D | LinkTest.java | 50 assertThat(link.getTraceId()).isEqualTo(spanContext.getTraceId()); in fromSpanContext_ChildLink() 58 assertThat(link.getTraceId()).isEqualTo(spanContext.getTraceId()); in fromSpanContext_ChildLink_WithAttributes() 67 assertThat(link.getTraceId()).isEqualTo(spanContext.getTraceId()); in fromSpanContext_ParentLink() 75 assertThat(link.getTraceId()).isEqualTo(spanContext.getTraceId()); in fromSpanContext_ParentLink_WithAttributes() 102 assertThat(link.toString()).contains(spanContext.getTraceId().toString()); in link_ToString() 107 assertThat(link.toString()).contains(spanContext.getTraceId().toString()); in link_ToString()
|
D | SpanContextTest.java | 52 assertThat(SpanContext.INVALID.getTraceId()).isEqualTo(TraceId.INVALID); in invalidSpanContext() 75 public void getTraceId() { in getTraceId() method in SpanContextTest 76 assertThat(first.getTraceId()).isEqualTo(TraceId.fromBytes(firstTraceIdBytes)); in getTraceId() 77 assertThat(second.getTraceId()).isEqualTo(TraceId.fromBytes(secondTraceIdBytes)); in getTraceId()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/ |
D | SpanBuilderImplTest.java | 163 assertThat(childSpan.getContext().getTraceId()).isEqualTo(rootSpan.getContext().getTraceId()); in startChildSpan() 214 assertThat(span.getContext().getTraceId()).isEqualTo(spanContext.getTraceId()); in startRemoteSpan() 255 assertThat(childSpan.getContext().getTraceId()).isEqualTo(rootSpan.getContext().getTraceId()); in startRemoteChildSpan_WithSpecifiedSampler() 272 assertThat(childSpan.getContext().getTraceId()).isEqualTo(rootSpan.getContext().getTraceId()); in startRemoteChildSpan_WithoutSpecifiedSampler() 290 assertThat(childSpan.getContext().getTraceId()).isEqualTo(rootSpan.getContext().getTraceId()); in startChildSpan_WithSpecifiedSampler() 306 assertThat(childSpan.getContext().getTraceId()).isEqualTo(rootSpan.getContext().getTraceId()); in startChildSpan_WithoutSpecifiedSampler() 328 assertThat(childSpan.getContext().getTraceId()) in startChildSpan_SampledLinkedParent() 329 .isEqualTo(rootSpanUnsampled.getContext().getTraceId()); in startChildSpan_SampledLinkedParent() 370 assertThat(childSpan.getContext().getTraceId()).isEqualTo(traceId); in startRemoteChildSpan_WithProbabilitySamplerDefaultSampler() 387 assertThat(childSpan.getContext().getTraceId()).isEqualTo(traceId); in startRemoteChildSpan_WithProbabilitySamplerDefaultSampler()
|
/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() 85 context.getTraceId(), in fromSpanContext() 97 public abstract TraceId getTraceId(); in getTraceId() method in Link
|
D | SpanContext.java | 82 public TraceId getTraceId() { in getTraceId() method in SpanContext
|
/external/opencensus-java/contrib/appengine_standard_util/src/test/java/io/opencensus/contrib/appengine/standard/util/ |
D | AppEngineCloudTraceContextUtilsTest.java | 78 assertThat(newCloudTraceContext.getTraceId()).isEqualTo(cloudTraceContext.getTraceId()); in toFromSampledCloudTraceContext() 157 return Arrays.equals(obj1.getTraceId(), obj2.getTraceId()) in cloudTraceContextEquals()
|
/external/opencensus-java/contrib/spring_sleuth_v1x/src/test/java/io/opencensus/contrib/spring/sleuth/v1x/ |
D | OpenCensusSleuthSpanTest.java | 57 assertThat(Long.parseLong(span.getContext().getTraceId().toLowerBase16().substring(0, 16), 16)) in assertSpanEquals() 59 assertThat(Long.parseLong(span.getContext().getTraceId().toLowerBase16().substring(16, 32), 16)) in assertSpanEquals() 60 .isEqualTo(sleuthSpan.getTraceId()); in assertSpanEquals()
|
D | OpenCensusSleuthSpanContextHolderTest.java | 142 assertThat(Long.parseLong(span.getContext().getTraceId().toLowerBase16().substring(0, 16), 16)) in assertSpanEquals() 144 assertThat(Long.parseLong(span.getContext().getTraceId().toLowerBase16().substring(16, 32), 16)) in assertSpanEquals() 145 .isEqualTo(sleuthSpan.getTraceId()); in assertSpanEquals()
|
/external/opencensus-java/contrib/appengine_standard_util/src/main/java/io/opencensus/contrib/appengine/standard/util/ |
D | AppEngineCloudTraceContextUtils.java | 59 TraceIdProto traceIdProto = TraceIdProto.parseFrom(cloudTraceContext.getTraceId()); in fromCloudTraceContext() 86 ByteBuffer traceIdBuf = ByteBuffer.wrap(spanContext.getTraceId().getBytes()); in toCloudTraceContext()
|
/external/opencensus-java/contrib/exemplar_util/src/main/java/io/opencensus/contrib/exemplar/util/ |
D | ExemplarUtils.java | 66 measureMap.putAttachment(ATTACHMENT_KEY_TRACE_ID, spanContext.getTraceId().toLowerBase16()); in putSpanContextAttachments()
|
/external/opencensus-java/contrib/spring_sleuth_v1x/src/main/java/io/opencensus/contrib/spring/sleuth/v1x/ |
D | OpenCensusSleuthSpan.java | 74 .putLong(span.getTraceId()) in fromSleuthSpan()
|
D | OpenCensusSleuthTracer.java | 220 .traceId(parent.getTraceId()) in createChild() 239 .traceId(span.getTraceId()) in sampledSpan()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/propagation/ |
D | BinaryFormatImpl.java | 100 spanContext.getTraceId().copyBytesTo(bytes, TRACE_ID_OFFSET); in toByteArray()
|
D | B3Format.java | 72 setter.put(carrier, X_B3_TRACE_ID, spanContext.getTraceId().toLowerBase16()); in inject()
|
/external/opencensus-java/contrib/log_correlation/stackdriver/src/main/java/io/opencensus/contrib/logcorrelation/stackdriver/ |
D | OpenCensusTraceLoggingEnhancer.java | 204 builder.setTrace(formatTraceId(tracePrefix, span.getTraceId())); in addTracingData()
|
/external/opencensus-java/exporters/trace/jaeger/src/main/java/io/opencensus/exporter/trace/jaeger/ |
D | JaegerExporterHandler.java | 193 copyToBuffer(context.getTraceId()); in spanDataToJaegerThriftSpan() 257 copyToBuffer(link.getTraceId()); in linksToReferences()
|
/external/opencensus-java/contrib/http_util/src/main/java/io/opencensus/contrib/http/util/ |
D | CloudTraceFormat.java | 96 .append(spanContext.getTraceId().toLowerBase16()) in inject()
|
/external/opencensus-java/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/ |
D | TraceProtoUtils.java | 109 TraceId traceId = spanContext.getTraceId(); in toSpanProto() 298 .setTraceId(toByteString(link.getTraceId().getBytes())) in toLinkProto()
|
/external/opencensus-java/contrib/log_correlation/log4j2/src/main/java/io/opencensus/contrib/logcorrelation/log4j2/ |
D | ContextDataUtils.java | 138 spanContext.getTraceId().toLowerBase16()); in getShareableContextAndTracingData()
|
/external/opencensus-java/exporters/trace/zipkin/src/main/java/io/opencensus/exporter/trace/zipkin/ |
D | ZipkinExporterHandler.java | 115 .traceId(context.getTraceId().toLowerBase16()) in generateSpan()
|
/external/opencensus-java/exporters/trace/instana/src/main/java/io/opencensus/exporter/trace/instana/ |
D | InstanaExporterHandler.java | 146 sb.append("\"traceId\":\"").append(encodeTraceId(spanContext.getTraceId())).append("\","); in convertToJson()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/ |
D | SpanBuilderImpl.java | 83 traceId = parent.getTraceId(); in startSpanInternal()
|
/external/opencensus-java/exporters/trace/stackdriver/src/main/java/io/opencensus/exporter/trace/stackdriver/ |
D | StackdriverV2ExporterHandler.java | 181 .setTrace(context.getTraceId().toLowerBase16()) in generateSpan() 462 .setTraceId(link.getTraceId().toLowerBase16()) in toLinkProto()
|
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/ |
D | TraceProtoUtilsTest.java | 245 assertThat(span.getTraceId()).isEqualTo(toByteString(traceId.getBytes())); in toSpanProto()
|
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/ |
D | TracezZPageHandler.java | 333 BaseEncoding.base16().lowerCase().encode(spanContext.getTraceId().getBytes()), in emitSingleSpan()
|