opentelemetry-instrumentation-aws-lambda silently fails to instrument files with the extension.cjs #1440
Labels
bug
Something isn't working
priority:p2
Bugs and spec inconsistencies which cause telemetry to be incomplete or incorrect
What version of OpenTelemetry are you using?
Will be upgrading to the latest
"@opentelemetry/api": "^1.3.0",
"@opentelemetry/exporter-trace-otlp-http": "^0.34.0",
"@opentelemetry/instrumentation": "^0.34.0",
"@opentelemetry/instrumentation-aws-lambda": "^0.34.0",
"@opentelemetry/instrumentation-aws-sdk": "^0.33.0",
"@opentelemetry/instrumentation-http": "^0.34.0",
"@opentelemetry/sdk-trace-base": "^1.8.0",
"@opentelemetry/sdk-trace-node": "^1.8.0",
What version of Node are you using?
v16.x
What did you do?
https://github.com/baselime/lambda-node-opentelemetry-serverless-stack-v2
Here is a repo reproducing the issue
What did you expect to see?
Traces sent
What did you see instead?
lambda handler is not instrumented
Additional context
opentelemetry-js-contrib/plugins/node/opentelemetry-instrumentation-aws-lambda/src/instrumentation.ts
Line 103 in 9605528
The text was updated successfully, but these errors were encountered: