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

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

    • AttributeLimitsModel

      public AttributeLimitsModel()
  • Method Details

    • getAttributeValueLengthLimit

      @Nullable public Integer getAttributeValueLengthLimit()
      Configure max attribute value size.

      Value must be non-negative.

      If omitted or null, there is no limit.

    • setAttributeValueLengthLimit

      public AttributeLimitsModel setAttributeValueLengthLimit(Integer attributeValueLengthLimit)
    • getAttributeValueDepthLimit

      @Nullable public Integer getAttributeValueDepthLimit()
      Configure the maximum attribute value depth for nested array and map values.

      Depth starts at 1 for the top-level attribute value and increments when descending into array elements or map values.

      Array or map values deeper than the limit are replaced with an empty value.

      Value must be positive.

      If omitted or null, 64 is used.

    • setAttributeValueDepthLimit

      public AttributeLimitsModel setAttributeValueDepthLimit(Integer attributeValueDepthLimit)
    • getAttributeCountLimit

      @Nullable public Integer getAttributeCountLimit()
      Configure max attribute count.

      Value must be non-negative.

      If omitted or null, 128 is used.

    • setAttributeCountLimit

      public AttributeLimitsModel setAttributeCountLimit(Integer attributeCountLimit)
    • getExtensionProperties

      public Map<String,Object> getExtensionProperties()
    • setExtensionProperty

      public AttributeLimitsModel setExtensionProperty(String name, @Nullable Object 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