Interface SpanLimitsConfig

All Superinterfaces:
Prototype.Api
All Known Implementing Classes:
SpanLimitsConfig.BuilderBase.SpanLimitsConfigImpl

public interface SpanLimitsConfig extends Prototype.Api
Tracing span limits settings.
See Also:
  • Method Details

    • builder

      static SpanLimitsConfig.Builder builder()
      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder

      static SpanLimitsConfig.Builder builder(SpanLimitsConfig instance)
      Create a new fluent API builder from an existing instance.
      Parameters:
      instance - an existing instance used as a base for the builder
      Returns:
      a builder based on an instance
    • create

      static SpanLimitsConfig create(Config config)
      Create a new instance from configuration.
      Parameters:
      config - used to configure the new instance
      Returns:
      a new instance configured from configuration
    • create

      @Deprecated static SpanLimitsConfig create(Config config)
      Create a new instance from configuration.
      Parameters:
      config - used to configure the new instance
      Returns:
      a new instance configured from configuration
    • create

      static SpanLimitsConfig create()
      Create a new instance with default values.
      Returns:
      a new instance
    • maxAttributes

      Optional<Integer> maxAttributes()
      Maximum number of attributes.
      Returns:
      max attributes
    • maxEvents

      Optional<Integer> maxEvents()
      Maximum number of events.
      Returns:
      max events
    • maxLinks

      Optional<Integer> maxLinks()
      Maximum number of links.
      Returns:
      max links
    • maxAttributesPerEvent

      Optional<Integer> maxAttributesPerEvent()
      Maximum number of attributes per event.
      Returns:
      max attributes per event
    • maxAttributesPerLink

      Optional<Integer> maxAttributesPerLink()
      Maximum number of attributes per link.
      Returns:
      max attributes per link
    • maxAttributeValueLength

      Optional<Integer> maxAttributeValueLength()
      Maximum attribute value length.
      Returns:
      max attribute value length