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

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

    • SpanLimitsModel

      public SpanLimitsModel()
  • Method Details

    • getAttributeValueLengthLimit

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

      Value must be non-negative.

      If omitted or null, there is no limit.

    • withAttributeValueLengthLimit

      public SpanLimitsModel withAttributeValueLengthLimit(Integer attributeValueLengthLimit)
    • getAttributeCountLimit

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

      Value must be non-negative.

      If omitted or null, 128 is used.

    • withAttributeCountLimit

      public SpanLimitsModel withAttributeCountLimit(Integer attributeCountLimit)
    • getEventCountLimit

      @Nullable public Integer getEventCountLimit()
      Configure max span event count.

      Value must be non-negative.

      If omitted or null, 128 is used.

    • withEventCountLimit

      public SpanLimitsModel withEventCountLimit(Integer eventCountLimit)
    • getLinkCountLimit

      @Nullable public Integer getLinkCountLimit()
      Configure max span link count.

      Value must be non-negative.

      If omitted or null, 128 is used.

    • withLinkCountLimit

      public SpanLimitsModel withLinkCountLimit(Integer linkCountLimit)
    • getEventAttributeCountLimit

      @Nullable public Integer getEventAttributeCountLimit()
      Configure max attributes per span event.

      Value must be non-negative.

      If omitted or null, 128 is used.

    • withEventAttributeCountLimit

      public SpanLimitsModel withEventAttributeCountLimit(Integer eventAttributeCountLimit)
    • getLinkAttributeCountLimit

      @Nullable public Integer getLinkAttributeCountLimit()
      Configure max attributes per span link.

      Value must be non-negative.

      If omitted or null, 128 is used.

    • withLinkAttributeCountLimit

      public SpanLimitsModel withLinkAttributeCountLimit(Integer linkAttributeCountLimit)
    • 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