Uses of Class
io.opentelemetry.sdk.trace.samplers.ParentBasedSamplerBuilder
Packages that use ParentBasedSamplerBuilder
Package
Description
This package contains
Sampler
s for selecting traces
that are recorded and exported.-
Uses of ParentBasedSamplerBuilder in io.opentelemetry.sdk.trace.samplers
Methods in io.opentelemetry.sdk.trace.samplers that return ParentBasedSamplerBuilderModifier and TypeMethodDescriptionstatic ParentBasedSamplerBuilder
Sampler.parentBasedBuilder
(Sampler root) Returns aParentBasedSamplerBuilder
that enables configuration of the parent-based sampling strategy.ParentBasedSamplerBuilder.setLocalParentNotSampled
(Sampler localParentNotSampled) Sets theSampler
to use when there is a local parent that was not sampled.ParentBasedSamplerBuilder.setLocalParentSampled
(Sampler localParentSampled) Sets theSampler
to use when there is a local parent that was sampled.ParentBasedSamplerBuilder.setRemoteParentNotSampled
(Sampler remoteParentNotSampled) Sets theSampler
to use when there is a remote parent that was not sampled.ParentBasedSamplerBuilder.setRemoteParentSampled
(Sampler remoteParentSampled) Sets theSampler
to use when there is a remote parent that was sampled.