You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing strange issue with using captureAsyncFunc in my code that runs on aws lambda nodejs16x runtime.
Here is my environment:
Lambda runtime is nodejs16.x
The config for active tracing with XRAY is on. I see some traces but not the ones with captureAsyncFunc
The lambda zip package is built with public.ecr.aws/lambda/nodejs:16 docker image
The aws-xray-sdk is 3.5.1 and this only npm package dependencies of my code.
If I remove the xray.captureHTTPsGlobal(require('https')); line, the #perform segment is shown on tracing graph in aws console however the url is not shown.
Can you try adding xray.capturePromise() before your xray.captureAsyncFunc() call? I was able to see the perform subsegment after adding this line (see this related issue for more information)
I am experiencing strange issue with using
captureAsyncFunc
in my code that runs on aws lambda nodejs16x runtime.Here is my environment:
captureAsyncFunc
public.ecr.aws/lambda/nodejs:16
docker imageaws-xray-sdk
is3.5.1
and this only npm package dependencies of my code.xray.captureHTTPsGlobal(require('https'));
line, the#perform
segment is shown on tracing graph in aws console however the url is not shown.The text was updated successfully, but these errors were encountered: