Home
last modified time | relevance | path

Searched refs:isSampled (Results 1 – 21 of 21) sorted by relevance

/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/
DSpanBuilderImplTest.java117 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/main/java/io/opencensus/trace/
DTraceOptions.java191 public boolean isSampled() { in isSampled() method in TraceOptions
216 return "TraceOptions{sampled=" + isSampled() + "}"; in toString()
250 public Builder setIsSampled(boolean isSampled) { in setIsSampled() argument
251 if (isSampled) { in setIsSampled()
DSpan.java83 !context.getTraceOptions().isSampled() || (this.options.contains(Options.RECORD_EVENTS)), in Span()
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DTraceOptionsTest.java46 public void isSampled() { in isSampled() method in TraceOptionsTest
47 assertThat(TraceOptions.DEFAULT.isSampled()).isFalse(); in isSampled()
48 assertThat(TraceOptions.builder().setIsSampled(true).build().isSampled()).isTrue(); in isSampled()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/samplers/
DProbabilitySampler.java82 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/
DOpenCensusSleuthSpanContextHolderTest.java50 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()
DOpenCensusSleuthSpanTest.java63 assertThat(span.getContext().getTraceOptions().isSampled()) in assertSpanEquals()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/
DStartEndHandlerImpl.java73 || span.getContext().getTraceOptions().isSampled()) { in onEnd()
116 if (span.getContext().getTraceOptions().isSampled()) { in process()
DSpanBuilderImpl.java100 (traceOptions.isSampled() || Boolean.TRUE.equals(recordEvents)) in startSpanInternal()
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/
DOpenCensusTraceLoggingEnhancer.java186 if (span.getTraceOptions().isSampled()) { in enhanceLogEntry()
208 builder.addLabel(SAMPLED_LABEL_KEY, Boolean.toString(span.getTraceOptions().isSampled())); in addTracingData()
/external/skqp/src/sksl/ir/
DSkSLType.h181 bool isSampled) in Type() argument
190 , fIsSampled(isSampled) { in Type()
339 bool isSampled() const { in isSampled() function
/external/skia/src/sksl/ir/
DSkSLType.h197 bool isSampled) in Type() argument
206 , fIsSampled(isSampled) { in Type()
371 bool isSampled() const { in isSampled() function
/external/opencensus-java/contrib/log_correlation/log4j2/src/main/java/io/opencensus/contrib/logcorrelation/log4j2/
DContextDataUtils.java90 if (spanContext.getTraceOptions().isSampled()) { in shouldAddTracingDataToLogEvent()
144 spanContext.getTraceOptions().isSampled() ? "true" : "false"); in getShareableContextAndTracingData()
/external/opencensus-java/contrib/appengine_standard_util/src/main/java/io/opencensus/contrib/appengine/standard/util/
DAppEngineCloudTraceContextUtils.java94 spanContext.getTraceOptions().isSampled() ? 1L : 0L); in toCloudTraceContext()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/propagation/
DB3Format.java74 if (spanContext.getTraceOptions().isSampled()) { in inject()
/external/opencensus-java/contrib/http_util/src/main/java/io/opencensus/contrib/http/util/
DCloudTraceFormat.java100 .append(spanContext.getTraceOptions().isSampled() ? SAMPLED : NOT_SAMPLED); in inject()
/external/opencensus-java/contrib/spring_sleuth_v1x/src/main/java/io/opencensus/contrib/spring/sleuth/v1x/
DOpenCensusSleuthTracer.java234 if (!sampler.isSampled(span)) { in sampledSpan()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/export/
DInProcessSampledSpanStoreImpl.java74 if (span.getContext().getTraceOptions().isSampled()) { in considerForSampling()
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DTracezZPageHandler.java330 spanContext.getTraceOptions().isSampled() in emitSingleSpan()
/external/skia/src/sksl/
DSkSLSPIRVCodeGenerator.cpp537 type.isMultisampled(), type.isSampled() ? 1 : 2, in getType()
/external/skqp/src/sksl/
DSkSLSPIRVCodeGenerator.cpp531 type.isMultisampled(), type.isSampled() ? 1 : 2, in getType()