-
Notifications
You must be signed in to change notification settings - Fork 14
S3 Downstream Span Pointers #503
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
428bb0f
Create span pointers helpers
nhulston cd34f67
Add span_pointers field to `SpanInferrer` and create default implemen…
nhulston c643dca
Implement `get_span_pointers` for S3 and add span pointers to the `Sp…
nhulston 6185643
Process and add span pointers to the Lambda execution span's meta und…
nhulston 3ae4fd9
lint
nhulston d4922c4
unit tests for `generate_span_pointer_hash`
nhulston 0f2a069
unit tests for S3's `get_span_pointers` implementation
nhulston 1553895
unit tests for span link processing in `trace_processor.rs`
nhulston 6ff8cf1
Merge branch 'main' into nicholas.hulston/s3-downstream-span-pointers
nhulston 7efa1b0
move span pointers helper
nhulston 96d4cbe
update imports
nhulston d1d63ec
Make `span_pointers` in span_inferrer.rs an Option
nhulston 7e4a8df
Add some important comments & avoid magic number
nhulston a1b9ecb
Remove `get_span_pointers` from the `Trigger` interface and create it…
nhulston 94a506e
add license
nhulston 6bad4e3
Move the logic for adding span links to span meta to spanpointers.rs
nhulston d43d356
Rename spanpointers.rs to span_pointers.rs
nhulston facdb78
lint; reduce diff
nhulston 8c8eef5
update 3rd party license
nhulston 650e2b4
simplify Option assignment
nhulston c3e1280
set span pointer on root span rather than searching for aws.lambda span
nhulston f7f65e4
extract `Some(span_pointers)` check to `attach_span_pointers_to_meta`…
nhulston e0ce3c0
use SpanLink struct from libdatadog trace-protobuf instead of manuall…
nhulston b42544d
fix format
nhulston 9071b08
refactor attach_span_pointers_to_meta
nhulston d5cf718
one liner improvement to attach_span_pointers_to_meta
nhulston 89ed8a9
append span links instead of replacing
nhulston 95bd0a4
add test for existing span links
nhulston eefaa85
Update `test_attach_span_pointers_to_span` existing links test to hav…
nhulston 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,19 @@ third_party_libraries: | |
license: 0BSD OR MIT OR Apache-2.0 | ||
licenses: | ||
- license: 0BSD | ||
text: NOT FOUND | ||
text: | | ||
Copyright (C) Jonas Schievink <[email protected]> | ||
|
||
Permission to use, copy, modify, and/or distribute this software for | ||
any purpose with or without fee is hereby granted. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN | ||
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT | ||
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
- license: MIT | ||
text: | | ||
Permission is hereby granted, free of charge, to any | ||
|
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
This change seems important enough to me to warrant its own 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.
cc @duncanista
He said he knows the issue and it's fine to keep it in this PR