Logit::Backend::OTLP::BatchProcessor
Batches events and flushes them periodically or when size threshold is reached.
The batch processor uses a background fiber for interval-based flushing and provides thread-safe event buffering.
Constructors
Instance methods
add(event : Event) : Nil
Adds an event to the buffer.
If the buffer reaches the batch size, flushes immediately.