Home
last modified time | relevance | path

Searched refs:toLowerBase16 (Results 1 – 14 of 14) sorted by relevance

/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DSpanIdTest.java55 public void toLowerBase16() { in toLowerBase16() method in SpanIdTest
56 assertThat(SpanId.INVALID.toLowerBase16()).isEqualTo("0000000000000000"); in toLowerBase16()
57 assertThat(first.toLowerBase16()).isEqualTo("0000000000000061"); in toLowerBase16()
58 assertThat(second.toLowerBase16()).isEqualTo("ff00000000000041"); in toLowerBase16()
DTraceIdTest.java64 public void toLowerBase16() { in toLowerBase16() method in TraceIdTest
65 assertThat(TraceId.INVALID.toLowerBase16()).isEqualTo("00000000000000000000000000000000"); in toLowerBase16()
66 assertThat(first.toLowerBase16()).isEqualTo("00000000000000000000000000000061"); in toLowerBase16()
67 assertThat(second.toLowerBase16()).isEqualTo("ff000000000000000000000000000041"); in toLowerBase16()
/external/opencensus-java/contrib/spring_sleuth_v1x/src/test/java/io/opencensus/contrib/spring/sleuth/v1x/
DOpenCensusSleuthSpanTest.java57 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()
61 assertThat(Long.parseLong(span.getContext().getSpanId().toLowerBase16(), 16)) in assertSpanEquals()
DOpenCensusSleuthSpanContextHolderTest.java142 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()
146 assertThat(Long.parseLong(span.getContext().getSpanId().toLowerBase16(), 16)) in assertSpanEquals()
/external/opencensus-java/contrib/exemplar_util/src/main/java/io/opencensus/contrib/exemplar/util/
DExemplarUtils.java66 measureMap.putAttachment(ATTACHMENT_KEY_TRACE_ID, spanContext.getTraceId().toLowerBase16()); in putSpanContextAttachments()
67 measureMap.putAttachment(ATTACHMENT_KEY_SPAN_ID, spanContext.getSpanId().toLowerBase16()); in putSpanContextAttachments()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DSpanId.java177 public String toLowerBase16() { in toLowerBase16() method in SpanId
202 return "SpanId{spanId=" + toLowerBase16() + "}"; in toString()
DTraceId.java178 public String toLowerBase16() { in toLowerBase16() method in TraceId
224 return "TraceId{traceId=" + toLowerBase16() + "}"; in toString()
/external/opencensus-java/contrib/exemplar_util/src/test/java/io/opencensus/contrib/exemplar/util/
DExemplarUtilsTest.java59 TRACE_ID.toLowerBase16(), in putSpanContext()
61 SPAN_ID.toLowerBase16()); in putSpanContext()
/external/opencensus-java/contrib/log_correlation/stackdriver/src/main/java/io/opencensus/contrib/logcorrelation/stackdriver/
DOpenCensusTraceLoggingEnhancer.java205 builder.setSpanId(span.getSpanId().toLowerBase16()); in addTracingData()
212 return tracePrefix + traceId.toLowerBase16(); in formatTraceId()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/propagation/
DB3Format.java72 setter.put(carrier, X_B3_TRACE_ID, spanContext.getTraceId().toLowerBase16()); in inject()
73 setter.put(carrier, X_B3_SPAN_ID, spanContext.getSpanId().toLowerBase16()); in inject()
/external/opencensus-java/exporters/trace/zipkin/src/main/java/io/opencensus/exporter/trace/zipkin/
DZipkinExporterHandler.java115 .traceId(context.getTraceId().toLowerBase16()) in generateSpan()
116 .id(context.getSpanId().toLowerBase16()) in generateSpan()
124 spanBuilder.parentId(spanData.getParentSpanId().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()
181 .setTrace(context.getTraceId().toLowerBase16()) in generateSpan()
208 spanBuilder.setParentSpanId(spanData.getParentSpanId().toLowerBase16()); in generateSpan()
462 .setTraceId(link.getTraceId().toLowerBase16()) in toLinkProto()
463 .setSpanId(link.getSpanId().toLowerBase16()) in toLinkProto()
/external/opencensus-java/contrib/log_correlation/log4j2/src/main/java/io/opencensus/contrib/logcorrelation/log4j2/
DContextDataUtils.java138 spanContext.getTraceId().toLowerBase16()); in getShareableContextAndTracingData()
141 spanContext.getSpanId().toLowerBase16()); in getShareableContextAndTracingData()
/external/opencensus-java/contrib/http_util/src/main/java/io/opencensus/contrib/http/util/
DCloudTraceFormat.java96 .append(spanContext.getTraceId().toLowerBase16()) in inject()