Skip to content

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