Uses of Class
io.opentelemetry.sdk.trace.samplers.ParentBasedSamplerBuilder
Packages that use ParentBasedSamplerBuilder
Package
Description
This package contains
Samplers 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 ParentBasedSamplerBuilderSampler.parentBasedBuilder(Sampler root) Returns aParentBasedSamplerBuilderthat enables configuration of the parent-based sampling strategy.ParentBasedSamplerBuilder.setLocalParentNotSampled(Sampler localParentNotSampled) Sets theSamplerto use when there is a local parent that was not sampled.ParentBasedSamplerBuilder.setLocalParentSampled(Sampler localParentSampled) Sets theSamplerto use when there is a local parent that was sampled.ParentBasedSamplerBuilder.setRemoteParentNotSampled(Sampler remoteParentNotSampled) Sets theSamplerto use when there is a remote parent that was not sampled.ParentBasedSamplerBuilder.setRemoteParentSampled(Sampler remoteParentSampled) Sets theSamplerto use when there is a remote parent that was sampled.