-
Notifications
You must be signed in to change notification settings - Fork 439
fix(tracing/botocore): fix incorrect context propagation type for SNS #3404
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
70 commits
Select commit
Hold shift + click to select a range
e1497de
Change DataType to binary and Value to BinaryValue
zARODz11z 70e0924
inject trace based on event_source
zARODz11z 58cba04
seperate sns and sqs encoding logic with if statement and modify test…
zARODz11z 2b52760
fix typo
zARODz11z 270f68e
add reno release note
zARODz11z bbed931
add comment explaining eventSource vs EventSource
zARODz11z ea54765
readd skipping trace injection warning when max number of msg attribu…
zARODz11z 3ef7345
Add comments explaining why we use String vs Binary aswell as why we …
zARODz11z 6fb455f
remove commented out code
zARODz11z b367338
make sure casing matches SNS and SQS lambda payloads
zARODz11z b012b16
eventSource to event source in warning
zARODz11z 93dccf0
Update releasenotes/notes/encode-sns-msg-attributes-as-b64-7818aec10f…
zARODz11z b1908da
Update releasenotes/notes/encode-sns-msg-attributes-as-b64-7818aec10f…
zARODz11z d6114cb
testing
zARODz11z c14f1fb
use b64decode and json.loads in test_sns_send_message_trace_injection…
zARODz11z c5048c5
flake fix
zARODz11z 814987f
riot run -s fmt
zARODz11z 1f1d6c6
Merge branch '1.x' into ar/sns-use-b64
zARODz11z 3703796
reformat function logic after manual testing
zARODz11z fc53f8e
Merge branch 'ar/sns-use-b64' of github.com:DataDog/dd-trace-py into …
zARODz11z 668dd88
Merge branch '1.x' into ar/sns-use-b64
astuyve 4c615d3
base64.b64decode
zARODz11z af1af17
Merge branch 'ar/sns-use-b64' of github.com:DataDog/dd-trace-py into …
zARODz11z 1d5942e
distinguish between sqs and sns in joined functions by passing endpoi…
zARODz11z 94536d2
delete duplicate test
zARODz11z e481f57
Merge branch '1.x' into ar/sns-use-b64
zARODz11z 4235353
add msg attribute comment
zARODz11z e5ec522
address Brett's comments, fix type annotations, bring back accidental…
zARODz11z 4a56e13
Merge branch 'ar/sns-use-b64' of github.com:DataDog/dd-trace-py into …
zARODz11z 77afe63
Give endpoint None default value and update type annotation
zARODz11z 15da13b
make endpoint optional in all functions where endpoint is an arg. Upd…
zARODz11z 22d337e
Merge branch '1.x' into ar/sns-use-b64
zARODz11z 9a6ffc1
add typing Union and Literal imports
zARODz11z f579c3d
Merge branch 'ar/sns-use-b64' of github.com:DataDog/dd-trace-py into …
zARODz11z bd91052
alphabetize imports
zARODz11z 204c570
Change DataType to binary and Value to BinaryValue
zARODz11z a3e1f48
inject trace based on event_source
zARODz11z bf10e80
seperate sns and sqs encoding logic with if statement and modify test…
zARODz11z 7040ecc
fix typo
zARODz11z 31a5f50
add reno release note
zARODz11z 0b31935
add comment explaining eventSource vs EventSource
zARODz11z 081caf1
readd skipping trace injection warning when max number of msg attribu…
zARODz11z c7d957b
Add comments explaining why we use String vs Binary aswell as why we …
zARODz11z 34630b2
remove commented out code
zARODz11z 81c535a
make sure casing matches SNS and SQS lambda payloads
zARODz11z bdba5de
eventSource to event source in warning
zARODz11z 13e9491
Update releasenotes/notes/encode-sns-msg-attributes-as-b64-7818aec10f…
zARODz11z 753713a
Update releasenotes/notes/encode-sns-msg-attributes-as-b64-7818aec10f…
zARODz11z 36a4631
testing
zARODz11z 0a3adcb
use b64decode and json.loads in test_sns_send_message_trace_injection…
zARODz11z 48f5e77
flake fix
zARODz11z ab2e091
riot run -s fmt
zARODz11z ee54929
reformat function logic after manual testing
zARODz11z 5032378
base64.b64decode
zARODz11z 641408a
distinguish between sqs and sns in joined functions by passing endpoi…
zARODz11z f66d208
delete duplicate test
zARODz11z ddc034c
add msg attribute comment
zARODz11z 541d1b5
address Brett's comments, fix type annotations, bring back accidental…
zARODz11z eb84510
Give endpoint None default value and update type annotation
zARODz11z ff09fc1
make endpoint optional in all functions where endpoint is an arg. Upd…
zARODz11z a24ebcc
add typing Union and Literal imports
zARODz11z 1a90110
alphabetize imports
zARODz11z bffbef0
Update releasenotes/notes/encode-sns-msg-attributes-as-b64-7818aec10f…
brettlangdon d73572d
edit type hints to Optional[str]
zARODz11z b8cf9d4
Merge branch 'ar/sns-use-b64' of github.com:DataDog/dd-trace-py into …
zARODz11z 8dc339b
remove uneeded union
zARODz11z b2eb59c
Merge branch '1.x' into ar/sns-use-b64
brettlangdon 3154e10
add .decode() before json.loads to pass python3.5 unit tests
zARODz11z ecd0ce8
Merge branch 'ar/sns-use-b64' of github.com:DataDog/dd-trace-py into …
zARODz11z 2485b90
Merge branch '1.x' into ar/sns-use-b64
mergify[bot] 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
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
4 changes: 4 additions & 0 deletions
4
releasenotes/notes/encode-sns-msg-attributes-as-b64-7818aec10f533534.yaml
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
fixes: | ||
- | | ||
botocore: fix incorrect context propagation message attribute types for SNS. This addresses `Datadog/serverless-plugin-datadog#232 <https://github.com/DataDog/serverless-plugin-datadog/issues/232>`_ |
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
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.
Uh oh!
There was an error while loading. Please reload this page.