Uses of Class
io.opencensus.trace.Sampler
Packages that use Sampler
Package
Description
API for distributed tracing.
-
Uses of Sampler in io.opencensus.trace
Methods in io.opencensus.trace with parameters of type SamplerModifier and TypeMethodDescriptionabstract SpanBuilderSpanBuilder.setSampler(Sampler sampler) Sets theSamplerto use. -
Uses of Sampler in io.opencensus.trace.config
Methods in io.opencensus.trace.config that return SamplerModifier and TypeMethodDescriptionabstract SamplerTraceParams.getSampler()Returns the global defaultSampler.Methods in io.opencensus.trace.config with parameters of type SamplerModifier and TypeMethodDescriptionabstract TraceParams.BuilderTraceParams.Builder.setSampler(Sampler sampler) Sets the global defaultSampler. -
Uses of Sampler in io.opencensus.trace.samplers
Methods in io.opencensus.trace.samplers that return SamplerModifier and TypeMethodDescriptionstatic SamplerSamplers.alwaysSample()static SamplerSamplers.neverSample()static SamplerSamplers.probabilitySampler(double probability) Returns aSamplerthat makes a "yes" decision with a given probability.