Skip to content

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