Skip to content

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

@owent

Description

@owent

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions