opentelemetry-collector-contrib icon indicating copy to clipboard operation
opentelemetry-collector-contrib copied to clipboard

Feat loadbalancing exporter support batch

Open pp861 opened this issue 3 years ago • 1 comments

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.>

pp861 avatar Aug 04 '22 09:08 pp861

CLA Signed

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.

github-actions[bot] avatar Aug 23 '22 05:08 github-actions[bot]

Closed as inactive. Feel free to reopen if this PR is still being worked on.

github-actions[bot] avatar Sep 06 '22 05:09 github-actions[bot]