/external/opencensus-java/api/src/main/java/io/opencensus/trace/ |
D | SpanContext.java | 34 private final TraceId traceId; field in SpanContext 57 public static SpanContext create(TraceId traceId, SpanId spanId, TraceOptions traceOptions) { in create() argument 58 return create(traceId, spanId, traceOptions, TRACESTATE_DEFAULT); in create() 72 TraceId traceId, SpanId spanId, TraceOptions traceOptions, Tracestate tracestate) { in create() argument 73 return new SpanContext(traceId, spanId, traceOptions, tracestate); in create() 83 return traceId; in getTraceId() 123 return traceId.isValid() && spanId.isValid(); in isValid() 137 return traceId.equals(that.traceId) in equals() 144 return Arrays.hashCode(new Object[] {traceId, spanId, traceOptions}); in hashCode() 150 + traceId in toString() [all …]
|
D | Sampler.java | 46 TraceId traceId, in shouldSample() argument
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/ |
D | SpanBuilderImpl.java | 71 TraceId traceId; in startSpanInternal() local 78 traceId = TraceId.generateRandomId(random); in startSpanInternal() 83 traceId = parent.getTraceId(); in startSpanInternal() 94 traceId, in startSpanInternal() 102 SpanContext.create(traceId, spanId, traceOptions, tracestate), in startSpanInternal() 112 SpanContext.create(traceId, spanId, traceOptions, tracestate)); in startSpanInternal() 123 TraceId traceId, in makeSamplingDecision() argument 128 return sampler.shouldSample(parent, hasRemoteParent, traceId, spanId, name, parentLinks); in makeSamplingDecision() 135 .shouldSample(parent, hasRemoteParent, traceId, spanId, name, parentLinks); in makeSamplingDecision()
|
/external/opencensus-java/api/src/test/java/io/opencensus/trace/samplers/ |
D | SamplersTest.java | 43 private final TraceId traceId = TraceId.generateRandomId(random); field in SamplersTest 47 SpanContext.create(traceId, parentSpanId, TraceOptions.builder().setIsSampled(true).build()); 49 SpanContext.create(traceId, parentSpanId, TraceOptions.DEFAULT); 61 traceId, in alwaysSampleSampler_AlwaysReturnTrue() 72 traceId, in alwaysSampleSampler_AlwaysReturnTrue() 92 traceId, in neverSampleSampler_AlwaysReturnFalse() 103 traceId, in neverSampleSampler_AlwaysReturnFalse()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/propagation/ |
D | BinaryFormatImpl.java | 119 TraceId traceId; in fromByteArray() local 124 traceId = TraceId.fromBytes(bytes, pos + ID_SIZE); in fromByteArray() 146 return SpanContext.create(traceId, spanId, traceOptions, TRACESTATE_DEFAULT); in fromByteArray()
|
D | B3Format.java | 85 TraceId traceId; in extract() local 92 traceId = TraceId.fromLowerBase16(traceIdStr); in extract() 108 return SpanContext.create(traceId, spanId, traceOptions, TRACESTATE_DEFAULT); in extract()
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/samplers/ |
D | ProbabilitySampler.java | 77 TraceId traceId, in shouldSample() argument 100 return Math.abs(traceId.getLowerLong()) < getIdUpperBound(); in shouldSample()
|
D | NeverSampleSampler.java | 39 TraceId traceId, in shouldSample() argument
|
D | AlwaysSampleSampler.java | 39 TraceId traceId, in shouldSample() argument
|
/external/opencensus-java/contrib/spring_sleuth_v1x/src/test/java/io/opencensus/contrib/spring/sleuth/v1x/ |
D | OpenCensusSleuthSpanTest.java | 35 .traceId(22L) in testFromSleuthSampled() 48 .traceId(22L) in testFromSleuthNotSampled()
|
D | OpenCensusSleuthSpanContextHolderTest.java | 134 .traceId(tidLo) in createSleuthSpan()
|
/external/opencensus-java/exporters/trace/zipkin/src/test/java/io/opencensus/exporter/trace/zipkin/ |
D | ZipkinExporterHandlerTest.java | 93 .traceId(TRACE_ID) in generateSpan_NoKindAndRemoteParent() 134 .traceId(TRACE_ID) in generateSpan_ServerKind() 175 .traceId(TRACE_ID) in generateSpan_ClientKind() 220 .traceId(TRACE_ID) in generateSpan_WithAttributes()
|
/external/opencensus-java/contrib/http_util/src/test/java/io/opencensus/contrib/http/util/ |
D | CloudTraceFormatTest.java | 93 private static String constructHeader(String traceId, String spanId) { in constructHeader() argument 94 return traceId + SPAN_ID_DELIMITER + spanId; in constructHeader() 97 private static String constructHeader(String traceId, String spanId, String traceOptions) { in constructHeader() argument 98 return traceId + SPAN_ID_DELIMITER + spanId + TRACE_OPTION_DELIMITER + traceOptions; in constructHeader()
|
/external/opencensus-java/contrib/spring_sleuth_v1x/src/main/java/io/opencensus/contrib/spring/sleuth/v1x/ |
D | OpenCensusSleuthTracer.java | 121 .traceId(id) in createSpan() 206 .traceId(id) in createChild() 220 .traceId(parent.getTraceId()) in createChild() 239 .traceId(span.getTraceId()) in sampledSpan()
|
/external/opencensus-java/contrib/log_correlation/stackdriver/src/main/java/io/opencensus/contrib/logcorrelation/stackdriver/ |
D | OpenCensusTraceLoggingEnhancer.java | 211 private static String formatTraceId(String tracePrefix, TraceId traceId) { in formatTraceId() argument 212 return tracePrefix + traceId.toLowerBase16(); in formatTraceId()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/ |
D | SpanBuilderImplTest.java | 338 TraceId traceId = in startRemoteChildSpan_WithProbabilitySamplerDefaultSampler() local 364 traceId, in startRemoteChildSpan_WithProbabilitySamplerDefaultSampler() 370 assertThat(childSpan.getContext().getTraceId()).isEqualTo(traceId); in startRemoteChildSpan_WithProbabilitySamplerDefaultSampler() 381 traceId, in startRemoteChildSpan_WithProbabilitySamplerDefaultSampler() 387 assertThat(childSpan.getContext().getTraceId()).isEqualTo(traceId); in startRemoteChildSpan_WithProbabilitySamplerDefaultSampler()
|
/external/opencensus-java/contrib/http_util/src/main/java/io/opencensus/contrib/http/util/ |
D | CloudTraceFormat.java | 117 TraceId traceId = TraceId.fromLowerBase16(headerStr.subSequence(0, TRACE_ID_SIZE)); in extract() local 130 return SpanContext.create(traceId, spanId, traceOptions, TRACESTATE_DEFAULT); in extract()
|
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/ |
D | TraceProtoUtilsTest.java | 106 private static final TraceId traceId = TraceId.fromLowerBase16(TRACE_ID); field in TraceProtoUtilsTest 109 SpanContext.create(traceId, spanId, traceOptions, multiValueTracestate); 220 .setTraceId(toByteString(traceId.getBytes())) in toSpanProto() 245 assertThat(span.getTraceId()).isEqualTo(toByteString(traceId.getBytes())); in toSpanProto()
|
/external/opencensus-java/exporters/trace/instana/src/main/java/io/opencensus/exporter/trace/instana/ |
D | InstanaExporterHandler.java | 76 private static String encodeTraceId(TraceId traceId) { in encodeTraceId() argument 77 return BaseEncoding.base16().lowerCase().encode(traceId.getBytes(), 0, 8); in encodeTraceId()
|
/external/opencensus-java/exporters/trace/jaeger/src/main/java/io/opencensus/exporter/trace/jaeger/ |
D | JaegerExporterHandler.java | 209 private void copyToBuffer(final TraceId traceId) { in copyToBuffer() argument 211 traceId.copyBytesTo(traceIdBuffer, 0); in copyToBuffer()
|
/external/openscreen/docs/ |
D | trace_logging.md | 92 TRACE_SCOPED(category, name, traceId, parentId, rootId) 102 TRACE_DEFAULT_SCOPED(category, traceId, parentId, rootId) 118 `TRACE_ASYNC_START(category, name, traceId, parentId, rootId)`
|
/external/opencensus-java/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/ |
D | TraceProtoUtils.java | 109 TraceId traceId = spanContext.getTraceId(); in toSpanProto() local 113 .setTraceId(toByteString(traceId.getBytes())) in toSpanProto()
|
/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/stackdriver/src/test/java/io/opencensus/exporter/trace/stackdriver/ |
D | StackdriverV2ExporterHandlerProtoTest.java | 105 private static final TraceId traceId = TraceId.fromLowerBase16(TRACE_ID); field in StackdriverV2ExporterHandlerProtoTest 107 private static final SpanContext spanContext = SpanContext.create(traceId, spanId, traceOptions);
|
/external/pigweed/pw_trace_tokenized/ |
D | docs.rst | 231 task which don't have traceId equal to 3 are removed. Both the other task traces
|