/external/opencensus-java/api/src/test/java/io/opencensus/trace/samplers/ |
D | SamplersTest.java | 57 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/ |
D | TraceParamsTest.java | 74 .setSampler(Samplers.alwaysSample()) in updateTraceParams_All() 80 assertThat(traceParams.getSampler()).isEqualTo(Samplers.alwaysSample()); in updateTraceParams_All()
|
D | TraceConfigTest.java | 41 .setSampler(Samplers.alwaysSample()) in updateActiveTraceParams_NoOpImplementation()
|
/external/opencensus-java/benchmarks/src/jmh/java/io/opencensus/benchmarks/trace/ |
D | RecordTraceEventsBenchmark.java | 65 .setSampler(sampled ? Samplers.alwaysSample() : Samplers.neverSample()) in setup() 70 .setSampler(sampled ? Samplers.alwaysSample() : Samplers.neverSample()) in setup()
|
D | StartEndSpanBenchmark.java | 109 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/ |
D | SpanBuilderImplTest.java | 51 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/ |
D | Samplers.java | 40 public static Sampler alwaysSample() { in alwaysSample() method in Samplers
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/config/ |
D | TraceConfigImplTest.java | 42 .setSampler(Samplers.alwaysSample()) in updateTraceParams()
|
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/trace/ |
D | MultiSpansTracing.java | 63 traceConfig.getActiveTraceParams().toBuilder().setSampler(Samplers.alwaysSample()).build()); in main()
|
D | MultiSpansScopedTracing.java | 74 traceConfig.getActiveTraceParams().toBuilder().setSampler(Samplers.alwaysSample()).build()); in main()
|
D | MultiSpansContextTracing.java | 76 traceConfig.getActiveTraceParams().toBuilder().setSampler(Samplers.alwaysSample()).build()); in main()
|
/external/opencensus-java/contrib/agent/src/main/java/io/opencensus/contrib/agent/instrumentation/ |
D | TraceStrategyImpl.java | 40 .setSampler(Samplers.alwaysSample()) in startScopedSpan()
|
/external/opencensus-java/api/src/test/java/io/opencensus/trace/ |
D | SpanBuilderTest.java | 100 spanBuilder.setSampler(Samplers.alwaysSample()); in doNotCrash_NoopImplementation()
|
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/zpages/ |
D | ZPagesTester.java | 53 tracer.spanBuilder(SPAN_NAME).setRecordEvents(true).setSampler(Samplers.alwaysSample()); in recordExampleData()
|
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/helloworld/ |
D | QuickStart.java | 84 .setSampler(Samplers.alwaysSample()); in main()
|
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/grpc/helloworld/ |
D | HelloWorldClient.java | 81 tracer.spanBuilder("client").setRecordEvents(true).setSampler(Samplers.alwaysSample()); in greet()
|
D | HelloWorldServer.java | 66 .setSampler(Samplers.alwaysSample()); in performWork()
|
/external/opencensus-java/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/ |
D | TraceProtoUtils.java | 324 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/ |
D | CensusSpringAspectTest.java | 69 .setSampler(Samplers.alwaysSample()) in setup()
|
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/ |
D | TraceProtoUtilsTest.java | 273 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/ |
D | JaegerExporterHandlerIntegrationTest.java | 104 tracer.spanBuilder(SPAN_NAME).setRecordEvents(true).setSampler(Samplers.alwaysSample()); in exportToJaeger()
|
/external/opencensus-java/ |
D | README.md | 84 .setSampler(Samplers.alwaysSample())
|