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
The vendored AwsLambdaInstrumentation._endSpan calls tracerProvider.forceFlush() without any timeout.
Because _endSpan sits in the promise chain before wrapHandler's flush(2000), a hung forceFlush() blocks the Lambda from ever returning, causing it to sit idle until the Lambda runtime kills it at its configured timeout.
The vendored
AwsLambdaInstrumentation._endSpancallstracerProvider.forceFlush()without any timeout.Because
_endSpansits in the promise chain before wrapHandler'sflush(2000), a hungforceFlush()blocks the Lambda from ever returning, causing it to sit idle until the Lambda runtime kills it at its configured timeout.We got the original report on discord.