-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
SQS: add automatic propagation of AWSTraceHeader attribute when sending message #12810
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
Conversation
Test Results (amd64) - Integration, Bootstrap 5 files 5 suites 1h 32m 32s ⏱️ Results for commit 1b82769. ♻️ This comment has been updated with latest results. |
LocalStack Community integration with Pro 2 files ± 0 2 suites ±0 1h 4m 41s ⏱️ - 40m 4s Results for commit 1b82769. ± Comparison against base commit 5b0180c. This pull request removes 1771 and adds 2 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
c289098
to
1b82769
Compare
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.
LGTM! thanks for adding this!
Motivation
While reading about SQS and X-Ray, I had a hunch we didn't implement the automatic passing of X-Ray headers to the Attributes.
See https://docs.aws.amazon.com/xray/latest/devguide/xray-services-sqs.html
It might have been the case in the past, due to this following function:
localstack/localstack-core/localstack/utils/aws/aws_responses.py
Lines 189 to 196 in 5b0180c
But this was lacking now.
I've added a test to verify the behavior in AWS.
Changes
AWSTraceHeader
Attribute