Class BatchSpanProcessorModel

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

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

    • BatchSpanProcessorModel

      public BatchSpanProcessorModel()
  • Method Details

    • getScheduleDelay

      @Nullable public Integer getScheduleDelay()
      Configure delay interval (in milliseconds) between two consecutive exports.

      Value must be non-negative.

      If omitted or null, 5000 is used.

    • withScheduleDelay

      public BatchSpanProcessorModel withScheduleDelay(Integer scheduleDelay)
    • getExportTimeout

      @Nullable public Integer getExportTimeout()
      Configure maximum allowed time (in milliseconds) to export data.

      Value must be non-negative. A value of 0 indicates no limit (infinity).

      If omitted or null, 30000 is used.

    • withExportTimeout

      public BatchSpanProcessorModel withExportTimeout(Integer exportTimeout)
    • getMaxQueueSize

      @Nullable public Integer getMaxQueueSize()
      Configure maximum queue size. Value must be positive.

      If omitted or null, 2048 is used.

    • withMaxQueueSize

      public BatchSpanProcessorModel withMaxQueueSize(Integer maxQueueSize)
    • getMaxExportBatchSize

      @Nullable public Integer getMaxExportBatchSize()
      Configure maximum batch size. Value must be positive.

      If omitted or null, 512 is used.

    • withMaxExportBatchSize

      public BatchSpanProcessorModel withMaxExportBatchSize(Integer maxExportBatchSize)
    • getExporter

      @Nullable public SpanExporterModel getExporter()
      Configure exporter.

      Property is required and must be non-null.

    • withExporter

      public BatchSpanProcessorModel withExporter(SpanExporterModel exporter)
    • 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