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

Refactor BatchSpanProcessor queue logic into a BatchAccumulator #3485

Closed
wants to merge 4 commits into from

Conversation

pmcollins
Copy link
Member

Description

This is a draft PR to gather additional feedback. It takes some of the feedback received when this proposed direction was presented to the SIG, where it was suggested that the BatchSpanProcessor be migrated incrementally. Therefore this PR doesn't reflect the target end state of the BSP but a step towards getting there; for example some of the logic proposed in this change (e.g. the atomic flags) is expected to be replaced by a Timer in a later PR.

This change proposes replacing some of the queueing, batching, and flushing logic in the BatchSpanProcessor with a BatchAccumulator.

Fixes # (issue)

None yet. (We'll probably want to add a new issue to capture BSP refactoring)

Type of change

This change proposes a refactor of the BSP.

How Has This Been Tested?

Tested manually and added new integration (slower running, end-to-end) tests.

@pmcollins
Copy link
Member Author

Closing as we're going to look into a switchover instead of multiple incremental changes.

@pmcollins pmcollins closed this Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant