Builder

org.typelevel.otel4s.sdk.trace.processor.BatchSpanProcessor.Builder
trait Builder[F[_]]

Builder for BatchSpanProcessor.

Attributes

Source
BatchSpanProcessor.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

Creates a BatchSpanProcessor with the configuration of this builder.

Creates a BatchSpanProcessor with the configuration of this builder.

Attributes

Source
BatchSpanProcessor.scala

Sets the maximum time an export will be allowed to run before being cancelled.

Sets the maximum time an export will be allowed to run before being cancelled.

Default value is 30 seconds.

Attributes

Source
BatchSpanProcessor.scala
def withMaxExportBatchSize(maxExportBatchSize: Int): Builder[F]

Sets the maximum batch size for every export.

Sets the maximum batch size for every export. This must be smaller or equal to maxQueueSize.

Default value is 512.

Attributes

Source
BatchSpanProcessor.scala
def withMaxQueueSize(maxQueueSize: Int): Builder[F]

Sets the maximum number of Spans that are kept in the queue before start dropping.

Sets the maximum number of Spans that are kept in the queue before start dropping. More memory than this value may be allocated to optimize queue access.

Default value is 2048.

Attributes

Source
BatchSpanProcessor.scala

Sets the delay interval between two consecutive exports.

Sets the delay interval between two consecutive exports.

Default value is 5 seconds.

Attributes

Source
BatchSpanProcessor.scala