/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/ |
D | SpanBuilderImplTest.java | 117 assertThat(span.getContext().getTraceOptions().isSampled()).isTrue(); in startSpanNullParent() 135 assertThat(span.getContext().getTraceOptions().isSampled()).isFalse(); in startSpanNullParentWithRecordEvents() 149 assertThat(span.getContext().getTraceOptions().isSampled()).isFalse(); in startSpanNullParentNoRecordOptions() 158 assertThat(rootSpan.getContext().getTraceOptions().isSampled()).isTrue(); in startChildSpan() 180 assertThat(span.getContext().getTraceOptions().isSampled()).isTrue(); in startRemoteSpan_NullParent() 195 assertThat(span.getContext().getTraceOptions().isSampled()).isTrue(); in startRemoteSpanInvalidParent() 215 assertThat(span.getContext().getTraceOptions().isSampled()).isTrue(); in startRemoteSpan() 229 assertThat(rootSpan.getContext().getTraceOptions().isSampled()).isFalse(); in startRootSpan_WithSpecifiedSampler() 238 assertThat(rootSpan.getContext().getTraceOptions().isSampled()).isTrue(); in startRootSpan_WithoutSpecifiedSampler() 248 assertThat(rootSpan.getContext().getTraceOptions().isSampled()).isTrue(); in startRemoteChildSpan_WithSpecifiedSampler() [all …]
|
/external/opencensus-java/api/src/test/java/io/opencensus/trace/ |
D | SpanContextTest.java | 54 assertThat(SpanContext.INVALID.getTraceOptions()).isEqualTo(TraceOptions.DEFAULT); in invalidSpanContext() 87 public void getTraceOptions() { in getTraceOptions() method in SpanContextTest 88 assertThat(first.getTraceOptions()).isEqualTo(TraceOptions.DEFAULT); in getTraceOptions() 89 assertThat(second.getTraceOptions()) in getTraceOptions()
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/samplers/ |
D | ProbabilitySampler.java | 82 if (parentContext != null && parentContext.getTraceOptions().isSampled()) { in shouldSample() 88 if (parentLink.getContext().getTraceOptions().isSampled()) { in shouldSample()
|
/external/opencensus-java/contrib/spring_sleuth_v1x/src/test/java/io/opencensus/contrib/spring/sleuth/v1x/ |
D | OpenCensusSleuthSpanContextHolderTest.java | 50 assertThat(tracer.getCurrentSpan().getContext().getTraceOptions().isSampled()).isTrue(); in testFromSleuthSampled() 62 assertThat(tracer.getCurrentSpan().getContext().getTraceOptions().isSampled()).isFalse(); in testFromSleuthUnsampled() 148 assertThat(span.getContext().getTraceOptions().isSampled()) in assertSpanEquals()
|
D | OpenCensusSleuthSpanTest.java | 63 assertThat(span.getContext().getTraceOptions().isSampled()) in assertSpanEquals()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/ |
D | StartEndHandlerImpl.java | 73 || span.getContext().getTraceOptions().isSampled()) { in onEnd() 116 if (span.getContext().getTraceOptions().isSampled()) { in process()
|
D | SpanBuilderImpl.java | 138 return parent.getTraceOptions().isSampled() || isAnyParentLinkSampled(parentLinks); in makeSamplingDecision() 143 if (parentLink.getContext().getTraceOptions().isSampled()) { in isAnyParentLinkSampled()
|
/external/opencensus-java/contrib/log_correlation/stackdriver/src/main/java/io/opencensus/contrib/logcorrelation/stackdriver/ |
D | OpenCensusTraceLoggingEnhancer.java | 186 if (span.getTraceOptions().isSampled()) { in enhanceLogEntry() 208 builder.addLabel(SAMPLED_LABEL_KEY, Boolean.toString(span.getTraceOptions().isSampled())); in addTracingData()
|
/external/opencensus-java/contrib/log_correlation/log4j2/src/main/java/io/opencensus/contrib/logcorrelation/log4j2/ |
D | ContextDataUtils.java | 90 if (spanContext.getTraceOptions().isSampled()) { in shouldAddTracingDataToLogEvent() 144 spanContext.getTraceOptions().isSampled() ? "true" : "false"); in getShareableContextAndTracingData()
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/ |
D | SpanContext.java | 102 public TraceOptions getTraceOptions() { in getTraceOptions() method in SpanContext
|
D | Span.java | 83 !context.getTraceOptions().isSampled() || (this.options.contains(Options.RECORD_EVENTS)), in Span()
|
/external/opencensus-java/contrib/appengine_standard_util/src/main/java/io/opencensus/contrib/appengine/standard/util/ |
D | AppEngineCloudTraceContextUtils.java | 94 spanContext.getTraceOptions().isSampled() ? 1L : 0L); in toCloudTraceContext()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/propagation/ |
D | BinaryFormatImpl.java | 104 spanContext.getTraceOptions().copyBytesTo(bytes, TRACE_OPTIONS_OFFSET); in toByteArray()
|
D | B3Format.java | 74 if (spanContext.getTraceOptions().isSampled()) { in inject()
|
/external/opencensus-java/contrib/http_util/src/main/java/io/opencensus/contrib/http/util/ |
D | CloudTraceFormat.java | 100 .append(spanContext.getTraceOptions().isSampled() ? SAMPLED : NOT_SAMPLED); in inject()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/propagation/ |
D | BinaryFormatImplTest.java | 189 assertThat(extracted.getTraceOptions()).isEqualTo(TraceOptions.DEFAULT); in fromBinaryValue_MissingTraceOptionsOk()
|
/external/opencensus-java/exporters/trace/jaeger/src/main/java/io/opencensus/exporter/trace/jaeger/ |
D | JaegerExporterHandler.java | 201 optionsToFlags(context.getTraceOptions()), in spanDataToJaegerThriftSpan()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/export/ |
D | InProcessSampledSpanStoreImpl.java | 74 if (span.getContext().getTraceOptions().isSampled()) { in considerForSampling()
|
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/ |
D | TracezZPageHandler.java | 330 spanContext.getTraceOptions().isSampled() in emitSingleSpan()
|