Home
last modified time | relevance | path

Searched refs:setSampler (Results 1 – 25 of 37) sorted by relevance

12

/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()
109 Span span = data.tracer.spanBuilder(SPAN_NAME).setSampler(Samplers.alwaysSample()).startSpan(); in startEndSampledRootSpan()
125 .setSampler(Samplers.neverSample()) in startEndNonSampledChildSpan()
142 .setSampler(Samplers.neverSample()) in startEndRecordEventsChildSpan()
159 .setSampler(Samplers.alwaysSample()) in startEndSampledChildSpan()
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.java51 TraceParams.DEFAULT.toBuilder().setSampler(Samplers.alwaysSample()).build();
69 .setSampler(Samplers.alwaysSample()) in startSpan_CreatesTheCorrectSpanImplInstance()
75 .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()
245 .setSampler(Samplers.alwaysSample()) in startRemoteChildSpan_WithSpecifiedSampler()
252 .setSampler(Samplers.neverSample()) in startRemoteChildSpan_WithSpecifiedSampler()
263 .setSampler(Samplers.neverSample()) in startRemoteChildSpan_WithoutSpecifiedSampler()
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/trace/config/
DTraceParams.java52 .setSampler(DEFAULT_SAMPLER)
141 public abstract Builder setSampler(Sampler sampler); in setSampler() method in TraceParams.Builder
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DSpanBuilder.java118 public abstract SpanBuilder setSampler(Sampler sampler); in setSampler() method in SpanBuilder
333 public SpanBuilder setSampler(@Nullable Sampler sampler) { in setSampler() method in SpanBuilder.NoopSpanBuilder
/external/opencensus-java/api/src/test/java/io/opencensus/trace/config/
DTraceParamsTest.java41 TraceParams.DEFAULT.toBuilder().setSampler(null).build(); in updateTraceParams_NullSampler()
74 .setSampler(Samplers.alwaysSample()) in updateTraceParams_All()
DTraceConfigTest.java41 .setSampler(Samplers.alwaysSample()) in updateActiveTraceParams_NoOpImplementation()
/external/opencensus-java/exporters/stats/prometheus/src/main/java/io/opencensus/exporter/stats/prometheus/
DPrometheusStatsCollector.java100 .setSampler(probabilitySampler) in collect()
141 .setSampler(probabilitySampler) in describe()
/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/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtils.java362 builder.setSampler(Samplers.alwaysSample()); in fromTraceConfigProto()
364 builder.setSampler(Samplers.neverSample()); in fromTraceConfigProto()
367 builder.setSampler( in fromTraceConfigProto()
/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/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DTraceConfigzZPageHandler.java162 traceParamsBuilder.setSampler(Samplers.probabilitySampler(samplingProbability)); in maybeApplyChanges()
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/
DTraceProtoUtilsTest.java349 DEFAULT_PARAMS.toBuilder().setSampler(Samplers.probabilitySampler(0.01)).build(); in applyUpdatedConfig()
355 return DEFAULT_PARAMS.toBuilder().setSampler(sampler).build(); in getTraceParams()
/external/deqp/external/openglcts/modules/common/
DglcShaderRenderCase.hpp110 void setSampler(const tcu::Sampler& sampler);
/external/opencensus-java/contrib/spring/src/test/java/io/opencensus/contrib/spring/aop/
DCensusSpringAspectTest.java69 .setSampler(Samplers.alwaysSample()) in setup()
/external/deqp/modules/glshared/
DglsShaderRenderCase.hpp94 void setSampler (const tcu::Sampler& sampler);
/external/opencensus-java/exporters/trace/zipkin/src/main/java/io/opencensus/exporter/trace/zipkin/
DZipkinExporterHandler.java195 tracer.spanBuilder("SendZipkinSpans").setSampler(probabilitySampler).startScopedSpan(); in export()

12