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

Add support for Default Baggage Injection in URLSessionInstrumentation #639

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

batuhansk
Copy link
Contributor

Description:
This PR introduces a defaultBaggageProvider callback in URLSessionInstrumentationConfiguration, enabling a default baggage to be applied globally to all instrumented requests. The provided baggage is combined with active baggage when available, or used standalone otherwise. The tracePropagationHTTPHeaders method has been optimized to ensure clear and concise baggage propagation across all requests.

@batuhansk batuhansk changed the title Add Support for Default Baggage Injection in URLSessionInstrumentation Add support for Default Baggage Injection in URLSessionInstrumentation Nov 20, 2024
Copy link
Member

@nachoBonafonte nachoBonafonte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a small change would be desired

Copy link
Member

@nachoBonafonte nachoBonafonte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating, looks perfect to me now.

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.

3 participants