-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Conversation
metadata: options.metadata, | ||
filePermission: options.filePermission, | ||
filePermissionKey: options.filePermissionKey | ||
const { span, spanOptions } = createSpan("DirectoryClient-create", options.spanOptions); |
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.
I am missing C# nameof
feature already...
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.
That would be so nice!
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.
This reverts commit e6ba907. Issues running browser tests with tracing policy.
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.