opentelemetry-collector-contrib
opentelemetry-collector-contrib copied to clipboard
Feat loadbalancing exporter support batch
Description: <Describe what has changed.>
The performance of loadbalancing exporter is very poor when stress testing,even if use the batch processor. this is due to loadbalancing exporter split traces data to exactly single trace, and calculate backend endpoint by traceID, and then expose trace data one by one using otlp exporter. In order to improve the throughput, I add a batch mode, If you care about performance,you can enbale it like this:
exporters: loadbalancing: protocol: otlp: timeout: 2s resolver: static: hostnames: - endpoint-1:55678 - endpoint-2:55678 batch: enable: true timeout: 200ms send_batch_size: 8192
Link to tracking Issue: <Issue number if applicable>
Testing: <Describe what testing was performed and which tests were added.>
Documentation: <Describe the documentation added.>
The committers listed above are authorized under a signed CLA.
- :white_check_mark: login: pp861 (e93bf167ead9750aaf13e2aa8d0d3616bd62e6d9, dca60604c57ed6656b0c3e9cbe754d565e190a12)
This PR was marked stale due to lack of activity. It will be closed in 14 days.
Closed as inactive. Feel free to reopen if this PR is still being worked on.