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

Trace identity #6455

Merged
merged 8 commits into from
Jul 25, 2019
Merged

Trace identity #6455

merged 8 commits into from
Jul 25, 2019

Conversation

SuyogSoti
Copy link
Contributor

@SuyogSoti SuyogSoti commented Jul 23, 2019

add decorators and policy

For reviewers, there are two things to look for.

  1. I have added the DistributedTracingPolicy to the correct place.
  2. I propagate the context with tracing_context.with_current_context any time a new thread is created. This should work with both threading and ThreadPoolExecutor. An example is the following:

future = executor.submit(tracing_context.with_current_context(uploader.process_chunk), chunk)

@SuyogSoti SuyogSoti requested a review from chlowell July 23, 2019 06:22
@adxsdk6
Copy link

adxsdk6 commented Jul 23, 2019

Can one of the admins verify this patch?

@SuyogSoti SuyogSoti added Azure.Identity Client This issue points to a problem in the data-plane of the library. labels Jul 23, 2019
@SuyogSoti
Copy link
Contributor Author

SuyogSoti commented Jul 24, 2019

@johanste says no spans should be created for get_token here

@SuyogSoti SuyogSoti merged commit 8b2d345 into Azure:master Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Identity Client This issue points to a problem in the data-plane of the library.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants