Describe your environment
BatchSpanProcessor wakeup too frequently when no more data to export after a long time Export(...).
Steps to reproduce
Use BatchSpanProcessor and make exporter cost more time than schedule_delay_millis in BatchSpanProcessor.
And the nothing more data to export.(Let the buffer_ in BatchSpanProcessor be empty.)
What is the expected behavior?
BatchSpanProcessor::DoBackgroundWork wakeup every schedule_delay_millis milliseconds.
What is the actual behavior?
BatchSpanProcessor::DoBackgroundWork wakeup too frequently.
Describe your environment
BatchSpanProcessorwakeup too frequently when no more data to export after a long timeExport(...).Steps to reproduce
Use BatchSpanProcessor and make exporter cost more time than
schedule_delay_millisinBatchSpanProcessor.And the nothing more data to export.(Let the
buffer_inBatchSpanProcessorbe empty.)What is the expected behavior?
BatchSpanProcessor::DoBackgroundWorkwakeup everyschedule_delay_millismilliseconds.What is the actual behavior?
BatchSpanProcessor::DoBackgroundWorkwakeup too frequently.