-
Notifications
You must be signed in to change notification settings - Fork 156
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
[Lambda] new Segment does not appear when using facade as parent #379
Comments
Hi Bryan, I think as reference from here, I believe segments created within lambda function are treated as facade segments hence no operation could be performed using that segment. I believe when you call
|
@bhautikpip Yes, I'm aware of the no-op. that's why I thought using the facade as a parent and creating a new As a note, if you create a new |
right. I think as per my understanding this case would be similar as having Express server deployed to lambda and Express middleware tries to create segment but Lambda facade segment will ignore that and on the X-Ray console you will only see one node |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in next 7 days. Thank you for your contributions. |
I'm trying to set the
addIncomingRequestData
in Lambda. Using this function on the facadeSegment
does not work, and X-Ray just seems to ignore the additional data:As an alternative, I thought that if I created a new
Segment
and using Lambda's facadeSegment
'strace_id
as theparent
for the newSegment
I could get it to work. Based on the X-Ray docs, I would expect this to create a new node on the service map that would be downstream from the lambda execution. This was even worse because X-Ray just ignored my new Segment completely.Is there anyway to create a new downstream service
Segment
on service map, separate from the Lambda node?(I need some way to capture the HTTP request details because HTTP API Gateways do not support X-Ray)
Cheers,
Bryan
The text was updated successfully, but these errors were encountered: