Home
last modified time | relevance | path

Searched refs:sampledSpan (Results 1 – 3 of 3) sorted by relevance

/external/opencensus-java/api/src/test/java/io/opencensus/trace/samplers/
DSamplersTest.java50 private final Span sampledSpan = field in SamplersTest
189 neverSample, notSampledSpanContext, Arrays.asList(sampledSpan), 1.0); in probabilitySampler_DifferentProbabilities_SampledParentLink()
192 alwaysSample, notSampledSpanContext, Arrays.asList(sampledSpan), 1.0); in probabilitySampler_DifferentProbabilities_SampledParentLink()
195 fiftyPercentSample, notSampledSpanContext, Arrays.asList(sampledSpan), 1.0); in probabilitySampler_DifferentProbabilities_SampledParentLink()
198 twentyPercentSample, notSampledSpanContext, Arrays.asList(sampledSpan), 1.0); in probabilitySampler_DifferentProbabilities_SampledParentLink()
201 twoThirdsSample, notSampledSpanContext, Arrays.asList(sampledSpan), 1.0); in probabilitySampler_DifferentProbabilities_SampledParentLink()
/external/opencensus-java/contrib/spring_sleuth_v1x/src/main/java/io/opencensus/contrib/spring/sleuth/v1x/
DOpenCensusSleuthTracer.java127 span = sampledSpan(span, sampler); in createSpan()
209 span = sampledSpan(span, this.defaultSampler); in createChild()
233 private static Span sampledSpan(Span span, Sampler sampler) { in sampledSpan() method in OpenCensusSleuthTracer
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/export/
DInProcessSampledSpanStoreImplTest.java116 Span sampledSpan = createSampledSpan(spanName); in addSpanNameToAllLatencyBuckets() local
126 sampledSpan.end(); in addSpanNameToAllLatencyBuckets()
134 Span sampledSpan = createSampledSpan(spanName); in addSpanNameToAllErrorBuckets() local
137 sampledSpan.end(EndSpanOptions.builder().setStatus(code.toStatus()).build()); in addSpanNameToAllErrorBuckets()