Home
last modified time | relevance | path

Searched refs:neverSample (Results 1 – 7 of 7) sorted by relevance

/external/opencensus-java/api/src/test/java/io/opencensus/trace/samplers/
DSamplersTest.java88 Samplers.neverSample() in neverSampleSampler_AlwaysReturnFalse()
99 Samplers.neverSample() in neverSampleSampler_AlwaysReturnFalse()
112 assertThat(Samplers.neverSample().toString()).isEqualTo("NeverSampleSampler"); in neverSampleSampler_ToString()
149 final Sampler neverSample = Samplers.probabilitySampler(0.0); in probabilitySampler_DifferentProbabilities_NotSampledParent() local
151 neverSample, notSampledSpanContext, Collections.<Span>emptyList(), 0.0); in probabilitySampler_DifferentProbabilities_NotSampledParent()
168 final Sampler neverSample = Samplers.probabilitySampler(0.0); in probabilitySampler_DifferentProbabilities_SampledParent() local
170 neverSample, sampledSpanContext, Collections.<Span>emptyList(), 1.0); in probabilitySampler_DifferentProbabilities_SampledParent()
187 final Sampler neverSample = Samplers.probabilitySampler(0.0); in probabilitySampler_DifferentProbabilities_SampledParentLink() local
189 neverSample, notSampledSpanContext, Arrays.asList(sampledSpan), 1.0); in probabilitySampler_DifferentProbabilities_SampledParentLink()
/external/opencensus-java/benchmarks/src/jmh/java/io/opencensus/benchmarks/trace/
DStartEndSpanBenchmark.java56 .setSampler(Samplers.neverSample()) in setup()
78 .setSampler(Samplers.neverSample()) in startEndNonSampledRootSpan()
95 .setSampler(Samplers.neverSample()) in startEndRecordEventsRootSpan()
125 .setSampler(Samplers.neverSample()) in startEndNonSampledChildSpan()
142 .setSampler(Samplers.neverSample()) in startEndRecordEventsChildSpan()
DRecordTraceEventsBenchmark.java65 .setSampler(sampled ? Samplers.alwaysSample() : Samplers.neverSample()) in setup()
70 .setSampler(sampled ? Samplers.alwaysSample() : Samplers.neverSample()) in setup()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/
DSpanBuilderImplTest.java75 .setSampler(Samplers.neverSample()) in startSpan_CreatesTheCorrectSpanImplInstance()
80 .setSampler(Samplers.neverSample()) in startSpan_CreatesTheCorrectSpanImplInstance()
130 .setSampler(Samplers.neverSample()) in startSpanNullParentWithRecordEvents()
145 .setSampler(Samplers.neverSample()) in startSpanNullParentNoRecordOptions()
226 .setSampler(Samplers.neverSample()) in startRootSpan_WithSpecifiedSampler()
252 .setSampler(Samplers.neverSample()) in startRemoteChildSpan_WithSpecifiedSampler()
263 .setSampler(Samplers.neverSample()) in startRemoteChildSpan_WithoutSpecifiedSampler()
287 .setSampler(Samplers.neverSample()) in startChildSpan_WithSpecifiedSampler()
298 .setSampler(Samplers.neverSample()) in startChildSpan_WithoutSpecifiedSampler()
314 .setSampler(Samplers.neverSample()) in startChildSpan_SampledLinkedParent()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/samplers/
DSamplers.java50 public static Sampler neverSample() { in neverSample() method in Samplers
/external/opencensus-java/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtils.java327 } else if (Samplers.neverSample().equals(librarySampler)) { in toTraceConfigProto()
364 builder.setSampler(Samplers.neverSample()); in fromTraceConfigProto()
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtilsTest.java282 assertThat(TraceProtoUtils.toTraceConfigProto(getTraceParams(Samplers.neverSample()))) in toTraceConfigProto_NeverSampler()
316 .isEqualTo(Samplers.neverSample()); in fromTraceConfigProto_NeverSampler()