-
Notifications
You must be signed in to change notification settings - Fork 5
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
fix: net/http server-side instrumentation #403
Merged
RomainMuller
merged 18 commits into
main
from
rarguellof/APPSEC-55883/fix-net-http-server
Nov 22, 2024
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
cc548ac
fix: net/http server-side instrumentation
rarguelloF 168f794
add tests
rarguelloF b639ad6
chore: update generated files
RomainMuller 9fe2277
fix lint
rarguelloF 04ebf84
fix tests
rarguelloF 0a6b4ae
Merge branch 'main' into rarguellof/APPSEC-55883/fix-net-http-server
rarguelloF fbc4f4d
remove tab
rarguelloF 7f19466
update test
rarguelloF 81f79b0
fix fiber test
rarguelloF 9cebe89
use *testing.B from the subtest instead of the parent test
rarguelloF 7c847e7
fix lint
rarguelloF f691bcd
fix: properly forward link.deps from transitive dependencies even if …
RomainMuller 7a289c4
Merge branch 'main' into rarguellof/APPSEC-55883/fix-net-http-server
RomainMuller 065ecf7
clean up some of the on-compile hook to make it easier to follow
RomainMuller a290c3a
Merge remote-tracking branch 'origin/rarguellof/APPSEC-55883/fix-net-…
RomainMuller 4995082
Remove excessive pruning of link.deps file
RomainMuller a28ba36
Merge remote-tracking branch 'origin/main' into rarguellof/APPSEC-558…
RomainMuller f868c46
Fix unit test
RomainMuller 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
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
4 changes: 2 additions & 2 deletions
4
_integration-tests/tests/mux/gen_test.go → ...ation-tests/tests/gorilla_mux/gen_test.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
Is it expected that the children are gone here?
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.
Yes, see in the diff there was a comment
// FIXME: this span shouldn't exist
This is because we were somehow double instrumenting something (not sure where exactly).
Before (4 spans):
client -> server (net/http) -> server (gorilla/mux) -> server (net/http)
Now (3 spans):
client -> server (net/http) -> server (gorilla/mux)