Home
last modified time | relevance | path

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

/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DSpanContext.java34 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 …]
DSampler.java46 TraceId traceId, in shouldSample() argument
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/
DSpanBuilderImpl.java71 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/
DSamplersTest.java43 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/
DBinaryFormatImpl.java119 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()
DB3Format.java85 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/
DProbabilitySampler.java77 TraceId traceId, in shouldSample() argument
100 return Math.abs(traceId.getLowerLong()) < getIdUpperBound(); in shouldSample()
DNeverSampleSampler.java39 TraceId traceId, in shouldSample() argument
DAlwaysSampleSampler.java39 TraceId traceId, in shouldSample() argument
/external/opencensus-java/contrib/spring_sleuth_v1x/src/test/java/io/opencensus/contrib/spring/sleuth/v1x/
DOpenCensusSleuthSpanTest.java35 .traceId(22L) in testFromSleuthSampled()
48 .traceId(22L) in testFromSleuthNotSampled()
DOpenCensusSleuthSpanContextHolderTest.java134 .traceId(tidLo) in createSleuthSpan()
/external/opencensus-java/exporters/trace/zipkin/src/test/java/io/opencensus/exporter/trace/zipkin/
DZipkinExporterHandlerTest.java93 .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/
DCloudTraceFormatTest.java93 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/
DOpenCensusSleuthTracer.java121 .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/
DOpenCensusTraceLoggingEnhancer.java211 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/
DSpanBuilderImplTest.java338 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/
DCloudTraceFormat.java117 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/
DTraceProtoUtilsTest.java106 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/
DInstanaExporterHandler.java76 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/
DJaegerExporterHandler.java209 private void copyToBuffer(final TraceId traceId) { in copyToBuffer() argument
211 traceId.copyBytesTo(traceIdBuffer, 0); in copyToBuffer()
/external/openscreen/docs/
Dtrace_logging.md92 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/
DTraceProtoUtils.java109 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/
DZipkinExporterHandler.java115 .traceId(context.getTraceId().toLowerBase16()) in generateSpan()
/external/opencensus-java/exporters/trace/stackdriver/src/test/java/io/opencensus/exporter/trace/stackdriver/
DStackdriverV2ExporterHandlerProtoTest.java105 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/
Ddocs.rst231 task which don't have traceId equal to 3 are removed. Both the other task traces