[chore] Add docs for `sending_queue::batch::sizer` option (#13367)

Follow-up for
https://github.com/open-telemetry/opentelemetry-collector/pull/13362
This commit is contained in:
Dmitry Anoshin 2025-07-10 02:39:39 -07:00 committed by GitHub
parent 112cfb42d1
commit 3de50a8fcb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,9 @@ The following configuration options can be modified:
- `flush_timeout`: time after which a batch will be sent regardless of its size. Must be a non-zero value
- `min_size`: the minimum size of a batch.
- `max_size`: the maximum size of a batch, enables batch splitting. The maximum size of a batch should be greater than or equal to the minimum size of a batch.
- `sizer`: Overrides the sizer set at the `sending_queue` level for batching. Available options:
- `items`: number of the smallest parts of each signal (spans, metric data points, log records);
- `bytes`: the size of serialized data in bytes (the least performant option).
- `timeout` (default = 5s): Time to wait per individual attempt to send data to a backend
The `initial_interval`, `max_interval`, `max_elapsed_time`, and `timeout` options accept