java.lang.Object
io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.SamplerModel

@Generated("io.opentelemetry.gradle.DeclarativeConfigPojoGenerator") public class SamplerModel extends Object
  • Constructor Details

    • SamplerModel

      public SamplerModel()
  • Method Details

    • getAlwaysOff

      @Nullable public AlwaysOffSamplerModel getAlwaysOff()
      Configure sampler to be always_off.

      If omitted, ignore.

    • withAlwaysOff

      public SamplerModel withAlwaysOff(AlwaysOffSamplerModel alwaysOff)
    • getAlwaysOn

      @Nullable public AlwaysOnSamplerModel getAlwaysOn()
      Configure sampler to be always_on.

      If omitted, ignore.

    • withAlwaysOn

      public SamplerModel withAlwaysOn(AlwaysOnSamplerModel alwaysOn)
    • getCompositeDevelopment

      @Nullable public io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.internal.ExperimentalComposableSamplerModel getCompositeDevelopment()
      Configure sampler to be composite.

      If omitted, ignore.

    • withCompositeDevelopment

      public SamplerModel withCompositeDevelopment(io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.internal.ExperimentalComposableSamplerModel compositeDevelopment)
    • getJaegerRemoteDevelopment

      @Nullable public io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.internal.ExperimentalJaegerRemoteSamplerModel getJaegerRemoteDevelopment()
      Configure sampler to be jaeger_remote.

      If omitted, ignore.

    • withJaegerRemoteDevelopment

      public SamplerModel withJaegerRemoteDevelopment(io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.internal.ExperimentalJaegerRemoteSamplerModel jaegerRemoteDevelopment)
    • getParentBased

      @Nullable public ParentBasedSamplerModel getParentBased()
      Configure sampler to be parent_based.

      If omitted, ignore.

    • withParentBased

      public SamplerModel withParentBased(ParentBasedSamplerModel parentBased)
    • getProbabilityDevelopment

      @Nullable public io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.internal.ExperimentalProbabilitySamplerModel getProbabilityDevelopment()
      Configure sampler to be probability.

      If omitted, ignore.

    • withProbabilityDevelopment

      public SamplerModel withProbabilityDevelopment(io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.internal.ExperimentalProbabilitySamplerModel probabilityDevelopment)
    • getTraceIdRatioBased

      @Nullable public TraceIdRatioBasedSamplerModel getTraceIdRatioBased()
      Configure sampler to be trace_id_ratio_based.

      If omitted, ignore.

    • withTraceIdRatioBased

      public SamplerModel withTraceIdRatioBased(TraceIdRatioBasedSamplerModel traceIdRatioBased)
    • getAdditionalProperties

      public Map<String,SamplerPropertyModel> getAdditionalProperties()
    • withAdditionalProperty

      public SamplerModel withAdditionalProperty(String name, SamplerPropertyModel value)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object