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.

    • setAttributeValueLengthLimit

      public SpanLimitsModel setAttributeValueLengthLimit(Integer attributeValueLengthLimit)
    • getAttributeValueDepthLimit

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

      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 SpanLimitsModel setAttributeValueDepthLimit(Integer attributeValueDepthLimit)
    • 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.

    • setAttributeCountLimit

      public SpanLimitsModel setAttributeCountLimit(Integer attributeCountLimit)
    • getEventCountLimit

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

      Value must be non-negative.

      If omitted or null, 128 is used.

    • setEventCountLimit

      public SpanLimitsModel setEventCountLimit(Integer eventCountLimit)
    • getLinkCountLimit

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

      Value must be non-negative.

      If omitted or null, 128 is used.

    • setLinkCountLimit

      public SpanLimitsModel setLinkCountLimit(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.

    • setEventAttributeCountLimit

      public SpanLimitsModel setEventAttributeCountLimit(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.

    • setLinkAttributeCountLimit

      public SpanLimitsModel setLinkAttributeCountLimit(Integer linkAttributeCountLimit)
    • getExtensionProperties

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

      public SpanLimitsModel 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