From fea7f3662981553c53ba77013e0ed6b4b291a7dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Serkan=20=C3=96ZAL?= Date: Mon, 28 Oct 2024 20:30:22 +0300 Subject: [PATCH] Take care of ESM based (`.mjs`) handlers for the AWS Lambda instrumentation --- .../src/instrumentation.ts | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/plugins/node/opentelemetry-instrumentation-aws-lambda/src/instrumentation.ts b/plugins/node/opentelemetry-instrumentation-aws-lambda/src/instrumentation.ts index db25f2d77b..58f303d1dc 100644 --- a/plugins/node/opentelemetry-instrumentation-aws-lambda/src/instrumentation.ts +++ b/plugins/node/opentelemetry-instrumentation-aws-lambda/src/instrumentation.ts @@ -117,14 +117,28 @@ export class AwsLambdaInstrumentation extends InstrumentationBase