The component does not support X-ray and other Lambda integrations locally.
So...how hard would it be to add this support for local X-Ray integration?
I think the primary use case for this would be to allow functions built with the SAM CLI that utilize X-Ray (e.g., with AWSXRay.captureAWSv3Client) to run locally. Not having this integration requires annoying hacks to import or not import the X-Ray SDK based on where the function is deployed. For more info, and to add some support to my request, please have a look at this issue in the SAM CLI repo, where people have been ranting about this feature since 2017. 😅
According to the README:
So...how hard would it be to add this support for local X-Ray integration?
I think the primary use case for this would be to allow functions built with the SAM CLI that utilize X-Ray (e.g., with
AWSXRay.captureAWSv3Client
) to run locally. Not having this integration requires annoying hacks to import or not import the X-Ray SDK based on where the function is deployed. For more info, and to add some support to my request, please have a look at this issue in the SAM CLI repo, where people have been ranting about this feature since 2017. 😅