OpenTelemetry.Internal.BatchExportWorker<T>
Abstract base class for batch export workers that handle the threading and synchronization logic for batch export processors.
Gets the circular buffer for storing telemetry objects.
Gets the exporter instance.
Gets the timeout for export operations in milliseconds.
Gets the maximum batch size for exports.
Gets the delay between exports in milliseconds.
Gets the shutdown drain target.
protected BatchExportWorker(CircularBuffer<T> circularBuffer, BaseExporter<T> exporter, int maxExportBatchSize, int scheduledDelayMilliseconds, int exporterTimeoutMilliseconds)
Initializes a new instance of the BatchExportWorker<T> class.
Releases the unmanaged resources used by this class and optionally releases the managed resources.
Increments the dropped count.
Performs the export operation.
Sets the shutdown drain target.
Checks if shutdown should occur.
Initiates shutdown and waits for completion.
Starts the worker.
Triggers an export operation.
Waits for export to complete.