We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 749021c commit fe8a4fbCopy full SHA for fe8a4fb
packages/aws-lambda/src/wrapper.js
@@ -343,6 +343,9 @@ function getRemainingTimeInMillis(context) {
343
}
344
345
346
+// NOTE: This function only "guesses" whether the Lambda extension should be used or not.
347
+// TODO: Figure out how we can reliably determine whether the Lambda extension should be
348
+// used or not e.g. by checking the lambda handler name if that is possible.
349
function shouldUseLambdaExtension() {
350
if (process.env.INSTANA_DISABLE_LAMBDA_EXTENSION) {
351
logger.info('INSTANA_DISABLE_LAMBDA_EXTENSION is set, not using the Lambda extension.');
0 commit comments