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 tracing to storage-file #5363

Merged
merged 5 commits into from
Oct 4, 2019
Merged

Conversation

xirzec
Copy link
Member

@xirzec xirzec commented Oct 3, 2019

This PR adds a dependency on @azure/core-tracing and makes it possible to pass a parent Span to public facing operations.

Also included are a couple small tests that validate Spans are being created properly.

@xirzec xirzec added Client This issue points to a problem in the data-plane of the library. Storage Storage Service (Queues, Blobs, Files) labels Oct 3, 2019
@xirzec xirzec self-assigned this Oct 3, 2019
@xirzec xirzec marked this pull request as ready for review October 3, 2019 07:55
metadata: options.metadata,
filePermission: options.filePermission,
filePermissionKey: options.filePermissionKey
const { span, spanOptions } = createSpan("DirectoryClient-create", options.spanOptions);
Copy link
Member

Choose a reason for hiding this comment

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

I am missing C# nameof feature already...

Copy link
Member Author

Choose a reason for hiding this comment

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

That would be so nice!

Copy link
Member

@jeremymeng jeremymeng left a comment

Choose a reason for hiding this comment

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

:shipit:

This reverts commit e6ba907.

Issues running browser tests with tracing policy.
@xirzec xirzec merged commit c100951 into Azure:feature/storage Oct 4, 2019
@xirzec xirzec deleted the fileTracing branch October 4, 2019 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants