open-telemetry / open-telemetry/opentelemetry-java-contrib
BaggageSpanProcessor should use ExtendedSpanProcessor.onEnding()
Open
@zeitlinger is already working on this.
Since Aug 4, 2025.
component:baggage-processor
enhancement
- Dominant language
- Java
- Stars
- 269
- Forks
- 196
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 38
Description
Component(s)
processors
Is your feature request related to a problem? Please describe.
Because BaggageSpanProcessor runs onStart(), newly added included Baggage keys need to be manually added to the current Span.
Describe the solution you'd like
BaggageSpanProcessor should be modified to implement ExtendedSpanProcessor and included baggage keys should be added onEnding().
Describe alternatives you've considered
No response
Additional context
No response
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.
Assessment
This issue has not been assessed yet.