-
Notifications
You must be signed in to change notification settings - Fork 765
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
update HttpSemanticConventions for Instrumentation.Http (part2) #4639
Merged
+688
−16
Merged
Changes from 13 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
c0b2e57
update HttpSemanticConventions for Instrumentation.Http (net fx)
TimothyMothra 3397105
Merge branch 'main' into 4484_http2
TimothyMothra 0bcfdf3
fix
TimothyMothra 0768089
remove url.scheme as this is for server, not client
TimothyMothra 977dbb3
Merge branch 'main' into 4484_http2
TimothyMothra d66f7f9
Merge branch 'main' into 4484_http2
TimothyMothra 4d0a5c7
Merge branch 'main' into 4484_http2
TimothyMothra 14ecda8
Merge branch 'main' into 4484_http2
vishweshbankwar 29b64ef
tests
TimothyMothra 51999c4
Merge branch 'main' into 4484_http2
TimothyMothra f9e7b14
remove blink line
TimothyMothra 88f817e
Merge branch '4484_http2' of https://github.com/TimothyMothra/opentel…
TimothyMothra c2ee1dd
update test comment
TimothyMothra b91509e
refactor to use booleans instead of HasFlag
TimothyMothra b326f3c
update changelog
TimothyMothra 80adf0d
remove extra tests
TimothyMothra e5a54f1
Merge branch 'main' into 4484_http2
TimothyMothra edcc16d
correct link to spec in comments and changelog
TimothyMothra d0ff7e3
update more comments
TimothyMothra 36475e2
fix build error
TimothyMothra 743a311
Merge branch 'main' into 4484_http2
utpilla File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
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.
These could be extracted into boolean variables to avoid checking them repeatedly. This can be done in another PR.
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.
The pattern used in the other libraries won't work here because this is a static class.
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.
Interesting. I'm not sure why this class uses a static instance of the options.
However, you should still be able to extract them into
static bool
variables in this case and use them instead of checking if theenum
has a flag repeatedly.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.
Not just a static instance of the options, the entire class is static.
I changed the Options field to a property so I can use the setter to evaluate the booleans in this commit: b91509e