Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BatchSpanProcessor wakeup too frequently when no more data to export after a long time Export(...). #826

Closed
owent opened this issue Jun 5, 2021 · 0 comments · Fixed by #827
Labels
bug Something isn't working

Comments

@owent
Copy link
Member

owent commented Jun 5, 2021

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.

@owent owent added the bug Something isn't working label Jun 5, 2021
owent added a commit to owent/opentelemetry-cpp that referenced this issue Jun 5, 2021
Signed-off-by: owent <admin@owent.net>
@owent owent mentioned this issue Jun 5, 2021
3 tasks
owent added a commit to owent/opentelemetry-cpp that referenced this issue Jun 7, 2021
Signed-off-by: owent <admin@owent.net>
lalitb pushed a commit that referenced this issue Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant