open-telemetry / open-telemetry/opentelemetry-python
(sdk/tracing): batch span process eager exporting
Open
Nobody has claimed this yet.
feature-request
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 1k
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 19
Description
BSP should export whenever the queue reaches the batch size or the scheduled delay timer completes, whichever is first.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the SDK's BatchSpanProcessor (BSP) implementation and its existing tests, then inspect how queue size and scheduled delay trigger exports. Done means exports occur when either the batch-size threshold or the delay timer is reached, whichever happens first, with tests covering both triggers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- observability-sre
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100