-
Notifications
You must be signed in to change notification settings - Fork 43
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
Insert calls to runtime.StartSpan in APIs #954
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fixes #501 |
jhendrixMSFT
commented
May 9, 2023
This requries using named return values in APIs so that the deferred call to endSpan() can capture the error.
jhendrixMSFT
force-pushed
the
tracing_codegen
branch
from
May 30, 2023 18:46
023a496
to
2bba2b1
Compare
jhendrixMSFT
requested review from
ArcturusZhang,
lirenhe and
tadelesh
as code owners
May 30, 2023 18:46
chlowell
reviewed
May 30, 2023
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.
Is this repo the best place for a simple end-to-end test verifying a generated client started and ended a span as expected? (I guess that could go in a management plane test suite instead)
Will add tests to verify spans are properly ended. |
updated autorest go.mod to use the beta of azcore generate some content without --inject-spans to ensure it works
jhendrixMSFT
force-pushed
the
tracing_codegen
branch
from
May 31, 2023 19:26
1f34eae
to
06ce21b
Compare
chlowell
reviewed
Jun 1, 2023
chlowell
reviewed
Jun 1, 2023
chlowell
approved these changes
Jun 2, 2023
jhendrixMSFT
force-pushed
the
tracing_codegen
branch
from
June 2, 2023 14:02
ad1e09f
to
09c4783
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This requries using named return values in APIs so that the deferred call to endSpan() can capture the error.