Home
last modified time | relevance | path

Searched refs:alwaysSample (Results 1 – 22 of 22) sorted by relevance

/external/opencensus-java/api/src/test/java/io/opencensus/trace/samplers/
DSamplersTest.java57 Samplers.alwaysSample() in alwaysSampleSampler_AlwaysReturnTrue()
68 Samplers.alwaysSample() in alwaysSampleSampler_AlwaysReturnTrue()
81 assertThat(Samplers.alwaysSample().toString()).isEqualTo("AlwaysSampleSampler"); in alwaysSampleSampler_ToString()
152 final Sampler alwaysSample = Samplers.probabilitySampler(1.0); in probabilitySampler_DifferentProbabilities_NotSampledParent() local
154 alwaysSample, notSampledSpanContext, Collections.<Span>emptyList(), 1.0); in probabilitySampler_DifferentProbabilities_NotSampledParent()
171 final Sampler alwaysSample = Samplers.probabilitySampler(1.0); in probabilitySampler_DifferentProbabilities_SampledParent() local
173 alwaysSample, sampledSpanContext, Collections.<Span>emptyList(), 1.0); in probabilitySampler_DifferentProbabilities_SampledParent()
190 final Sampler alwaysSample = Samplers.probabilitySampler(1.0); in probabilitySampler_DifferentProbabilities_SampledParentLink() local
192 alwaysSample, notSampledSpanContext, Arrays.asList(sampledSpan), 1.0); in probabilitySampler_DifferentProbabilities_SampledParentLink()
/external/opencensus-java/api/src/test/java/io/opencensus/trace/config/
DTraceParamsTest.java74 .setSampler(Samplers.alwaysSample()) in updateTraceParams_All()
80 assertThat(traceParams.getSampler()).isEqualTo(Samplers.alwaysSample()); in updateTraceParams_All()
DTraceConfigTest.java41 .setSampler(Samplers.alwaysSample()) in updateActiveTraceParams_NoOpImplementation()
/external/opencensus-java/benchmarks/src/jmh/java/io/opencensus/benchmarks/trace/
DRecordTraceEventsBenchmark.java65 .setSampler(sampled ? Samplers.alwaysSample() : Samplers.neverSample()) in setup()
70 .setSampler(sampled ? Samplers.alwaysSample() : Samplers.neverSample()) in setup()
DStartEndSpanBenchmark.java109 Span span = data.tracer.spanBuilder(SPAN_NAME).setSampler(Samplers.alwaysSample()).startSpan(); in startEndSampledRootSpan()
159 .setSampler(Samplers.alwaysSample()) in startEndSampledChildSpan()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/
DSpanBuilderImplTest.java51 TraceParams.DEFAULT.toBuilder().setSampler(Samplers.alwaysSample()).build();
69 .setSampler(Samplers.alwaysSample()) in startSpan_CreatesTheCorrectSpanImplInstance()
245 .setSampler(Samplers.alwaysSample()) in startRemoteChildSpan_WithSpecifiedSampler()
280 .setSampler(Samplers.alwaysSample()) in startChildSpan_WithSpecifiedSampler()
319 .setSampler(Samplers.alwaysSample()) in startChildSpan_SampledLinkedParent()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/samplers/
DSamplers.java40 public static Sampler alwaysSample() { in alwaysSample() method in Samplers
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/config/
DTraceConfigImplTest.java42 .setSampler(Samplers.alwaysSample()) in updateTraceParams()
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/trace/
DMultiSpansTracing.java63 traceConfig.getActiveTraceParams().toBuilder().setSampler(Samplers.alwaysSample()).build()); in main()
DMultiSpansScopedTracing.java74 traceConfig.getActiveTraceParams().toBuilder().setSampler(Samplers.alwaysSample()).build()); in main()
DMultiSpansContextTracing.java76 traceConfig.getActiveTraceParams().toBuilder().setSampler(Samplers.alwaysSample()).build()); in main()
/external/opencensus-java/contrib/agent/src/main/java/io/opencensus/contrib/agent/instrumentation/
DTraceStrategyImpl.java40 .setSampler(Samplers.alwaysSample()) in startScopedSpan()
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DSpanBuilderTest.java100 spanBuilder.setSampler(Samplers.alwaysSample()); in doNotCrash_NoopImplementation()
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/zpages/
DZPagesTester.java53 tracer.spanBuilder(SPAN_NAME).setRecordEvents(true).setSampler(Samplers.alwaysSample()); in recordExampleData()
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/helloworld/
DQuickStart.java84 .setSampler(Samplers.alwaysSample()); in main()
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/grpc/helloworld/
DHelloWorldClient.java81 tracer.spanBuilder("client").setRecordEvents(true).setSampler(Samplers.alwaysSample()); in greet()
DHelloWorldServer.java66 .setSampler(Samplers.alwaysSample()); in performWork()
/external/opencensus-java/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtils.java324 if (Samplers.alwaysSample().equals(librarySampler)) { in toTraceConfigProto()
362 builder.setSampler(Samplers.alwaysSample()); in fromTraceConfigProto()
/external/opencensus-java/contrib/spring/src/test/java/io/opencensus/contrib/spring/aop/
DCensusSpringAspectTest.java69 .setSampler(Samplers.alwaysSample()) in setup()
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtilsTest.java273 assertThat(TraceProtoUtils.toTraceConfigProto(getTraceParams(Samplers.alwaysSample()))) in toTraceConfigProto_AlwaysSampler()
306 .isEqualTo(Samplers.alwaysSample()); in fromTraceConfigProto_AlwaysSampler()
/external/opencensus-java/exporters/trace/jaeger/src/test/java/io/opencensus/exporter/trace/jaeger/
DJaegerExporterHandlerIntegrationTest.java104 tracer.spanBuilder(SPAN_NAME).setRecordEvents(true).setSampler(Samplers.alwaysSample()); in exportToJaeger()
/external/opencensus-java/
DREADME.md84 .setSampler(Samplers.alwaysSample())