Class ParentBasedSamplerModel
java.lang.Object
io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.ParentBasedSamplerModel
@Generated("io.opentelemetry.gradle.DeclarativeConfigPojoGenerator")
public class ParentBasedSamplerModel
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanConfigure local_parent_not_sampled sampler.Configure local_parent_sampled sampler.Configure remote_parent_not_sampled sampler.Configure remote_parent_sampled sampler.getRoot()Configure root sampler.inthashCode()toString()withLocalParentNotSampled(SamplerModel localParentNotSampled) withLocalParentSampled(SamplerModel localParentSampled) withRemoteParentNotSampled(SamplerModel remoteParentNotSampled) withRemoteParentSampled(SamplerModel remoteParentSampled) withRoot(SamplerModel root)
-
Constructor Details
-
ParentBasedSamplerModel
public ParentBasedSamplerModel()
-
-
Method Details
-
getRoot
Configure root sampler.If omitted, always_on is used.
-
withRoot
-
getRemoteParentSampled
Configure remote_parent_sampled sampler.If omitted, always_on is used.
-
withRemoteParentSampled
-
getRemoteParentNotSampled
Configure remote_parent_not_sampled sampler.If omitted, always_off is used.
-
withRemoteParentNotSampled
-
getLocalParentSampled
Configure local_parent_sampled sampler.If omitted, always_on is used.
-
withLocalParentSampled
-
getLocalParentNotSampled
Configure local_parent_not_sampled sampler.If omitted, always_off is used.
-
withLocalParentNotSampled
-
toString
-
hashCode
public int hashCode() -
equals
-