-
Notifications
You must be signed in to change notification settings - Fork 865
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
[azcore/tracing] Add propagator and link wrapper #24069
base: main
Are you sure you want to change the base?
Conversation
Thank you for your contribution @karenychen! We will review the pull request and get back to you soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jhendrixMSFT Since we haven't added context propagation in the http requests, I left the newPropagatorFn
here to nil. But please do let me know if you prefer it to be set :)
// TraceStateImpl contains the implementation for TraceState. | ||
type TraceStateImpl struct { | ||
// String contains the implementation for the TraceState.String method. | ||
String func() string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are more methods to the Otel implementation for TraceState, but String()
is all we need at the moment to parse it to use the ParseTraceState()
function
Adding Propagator and Links to
azcore/tracing
. This will allow context propagation and span links in the SDK.