Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tracegen] Enable BlockOnQueueFull in OTel SDK to avoid dropped spans (…
…jaegertracing#4578) ## Which problem is this PR solving? [tracegen] Enable BlockOnQueueFull in OTel SDK to make spans not dropped in spikes ## Short description of the changes Call `WithBlocking()` from OTel SDK to enable `BlockOnQueueFull=true` to make spans not dropped when the queue is full. Tested locally: - Before the change: Spans in tracegen were dropped when generated to jaeger-collector, even with just 1m duration and 1 worker. - With the change: Spans in tracegen were not dropped even with 1h duration and 10 workers. ![Screenshot 2023-07-12 005149](https://github.com/jaegertracing/jaeger/assets/75315486/cff1e8c7-7a5a-451f-97f2-186ca4f06251) --------- Signed-off-by: Ha Anh Vu <[email protected]>
- Loading branch information