Sending Queue
A sending queue is a buffer that stores telemetry data temporarily before sending it to the destination. The sending queue ensures that telemetry data is not lost due to network connectivity issues or server outages and helps to minimize the number of network connections required for efficient transmission.
Under the hood, the sending queue is the OpenTelemetry exporter helper's sending_queue. For the full queuing behavior, see the OpenTelemetry exporterhelper documentation.
Configuration
Destinations show these fields under Enable Sending Queue.
Enable Sending Queue
bool
true
Enable to buffer telemetry data temporarily before sending.
Number of Consumers
int
10
The number of consumers that dequeue batches.
Queue Size
int
5000
Maximum number of batches kept in memory before dropping.
Wait for Result
bool
false
Block incoming requests until the destination has processed them. Turns off persistent queuing. Only on some destinations; requires Bindplane collector v1.79.1 or newer.
Block on Overflow
bool
false
When the queue is full, block the request until the queue has space instead of rejecting the data immediately. Only on some destinations; requires Bindplane collector v1.79.1 or newer.
Wait for Result and Block on Overflow
Wait for Result and Block on Overflow are available on some destinations. Check the destination's configuration to see whether it offers them.
When Wait for Result is enabled, the destination can't use a persistent queue, so the Enable Persistent Queuing fields are hidden.
Per-Destination Defaults
Some destinations use defaults that differ from the table above, tuned to how that destination sends data. The destination's configuration shows its actual defaults.
Sending Queue and Persistent Queuing
By default, the sending queue holds batches in memory, and they're lost if the collector restarts. Persistent queuing writes the sending queue to disk instead, so queued data survives a restart. Because the persistent queue is the sending queue on disk, persistent queuing is only available when Enable Sending Queue is on.
Last updated
Was this helpful?