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

(concurrentbatchprocessor): avoid breaking parent span if used in SDK export pipeline #123

Merged

Conversation

moh-osman3
Copy link
Contributor

@moh-osman3 moh-osman3 commented Dec 15, 2023

This PR checks all incoming contexts for a given batch. If all contexts are the same, the parent context is no longer broken and is passed directly into export. Otherwise, the parent context must be broken and links to the incoming contexts are attached to the new span context.

This will help our efforts in debugging metrics SDKs because no longer breaking the parent span means we can see the latency of concurrentbatchprocessor

@moh-osman3 moh-osman3 marked this pull request as ready for review December 20, 2023 22:48
@jmacd jmacd merged commit 49161b2 into open-telemetry:main Dec 20, 2023
2 checks passed
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.

2 participants