jaegertracing / jaeger-client-cpp

🛑 This library is DEPRECATED!
https://jaegertracing.io/
Apache License 2.0
138 stars 126 forks source link

JAEGER_REPORTER_MAX_QUEUE_SIZE doesn't work #250

Closed xiaoyan-jin closed 2 years ago

xiaoyan-jin commented 4 years ago

JAEGER_REPORTER_MAX_QUEUE_SIZE means buffer spans in memory before sending them to the Jaeger Agent/Collector. The maximum size of this buffer is defined by the environment variable JAEGER_REPORTER_MAX_QUEUE_SIZE (default value: about 100 spans). But from my test, I found it can't work as it defined.

As my understanding, if this max_queue_size is 100, it means it can queue 100 spans before flush. But actually, it doesn't have this limitation. The number of spans received by jaeger agent can be more than 100 in one flush interval.