Skip to content

Bug: tracer unable to create service map Lambda -> SQS -> Lambda #286

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

Closed
flochaz opened this issue Dec 10, 2021 · 2 comments
Closed

Bug: tracer unable to create service map Lambda -> SQS -> Lambda #286

flochaz opened this issue Dec 10, 2021 · 2 comments
Assignees
Labels
blocked This item's progress is blocked by external dependency or reason bug-upstream This item is related to a bug caused by upstream dependency tracer This item relates to the Tracer Utility

Comments

@flochaz
Copy link
Contributor

flochaz commented Dec 10, 2021

Description of the feature request

Problem statement

SQS currently don't propagate properly traces when chaining Lambda. See aws/aws-xray-sdk-node#208 for more details.

Summary of the feature

  1. Implement a mechanism to detect when event coming from SQS and contains XRay trace id.
  2. Rebuild segments to be part of the main trace

Code examples

I did a first implem here : https://github.com/flochaz/x-ray-lambda-sqs-lambda/blob/main/lib/lambda/consumer-function/index.js

Benefits for you and the wider AWS community

The issue on xray sdk has been open for 2 years, people are getting really frustrated, 84 👍 and tens of comments ....

Describe alternatives you've considered

Wait for service team to fix it :)

@dreamorosi dreamorosi added bug Something isn't working help-wanted We would really appreciate some support from community for this one tracer This item relates to the Tracer Utility labels Dec 10, 2021
@dreamorosi dreamorosi added this to the production-ready-release milestone Dec 10, 2021
@flochaz flochaz self-assigned this Dec 27, 2021
@dreamorosi dreamorosi added blocked This item's progress is blocked by external dependency or reason wontfix and removed help-wanted We would really appreciate some support from community for this one labels Jan 20, 2022
@saragerion saragerion removed this from the production-ready-release milestone May 16, 2022
@dreamorosi
Copy link
Contributor

Closing this as it currently won't be fixed.

We'll reopen the issue in case things change on the service side.

@github-actions
Copy link
Contributor

⚠️ COMMENT VISIBILITY WARNING ⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@dreamorosi dreamorosi added bug-upstream This item is related to a bug caused by upstream dependency and removed bug Something isn't working labels Nov 14, 2022
@dreamorosi dreamorosi changed the title (tracer): Lambda -> SQS -> Lambda support Bug: tracer unable to create service map Lambda -> SQS -> Lambda Nov 14, 2022
@dreamorosi dreamorosi self-assigned this Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked This item's progress is blocked by external dependency or reason bug-upstream This item is related to a bug caused by upstream dependency tracer This item relates to the Tracer Utility
Projects
None yet
Development

No branches or pull requests

3 participants