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
Use datadog-cdk-constructs-v2 to add the datadog layer. We were on 1.16.1 of this library, but upgraded to 1.23.0 after the error to see if it still happened.
We are passing nodeLayerVersion of 115 to that construct, but I'm not sure it's honoring that, since we see this error and we didn't upgrade the layer version. After we saw the error, we upgraded the layer version to 119.
We are passing extensionLayerVersion of 64. we upgraded to 69 after seeing the errors.
Specifications
Datadog Lambda Layer version: 119
Node version: 20
Stacktrace
- /var/task/node_modules/datadog-lambda-js/dist/metrics/listener.js
- /var/task/node_modules/datadog-lambda-js/dist/metrics/index.js
- /var/task/node_modules/datadog-lambda-js/dist/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
at Module._load (node:internal/modules/cjs/loader:1051:27)
at Module.require (node:internal/modules/cjs/loader:1311:19)
at Hook.Module.require (/var/task/node_modules/dd-trace/packages/dd-trace/src/ritm.js:64:27)
at require (node:internal/modules/helpers:179:18)
at <anonymous> (/var/task/node_modules/datadog-lambda-js/src/metrics/listener.ts:225:44)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"}
The text was updated successfully, but these errors were encountered:
Ignore that last. I can now see where it's coming from in our own build. It appears to be overriding the layer. So indeed this was version 119 that is failing.
Expected Behavior
An error should not be thrown.
Actual Behavior
An error is thrown. This just started happening today.
This looks to be the culprit: eb74c9c#diff-b0c8e60bba01273a4bebed950ac603a63f83add78291c917ec57bf31dcd7b72f
Steps to Reproduce the Problem
datadog-cdk-constructs-v2
to add the datadog layer. We were on1.16.1
of this library, but upgraded to1.23.0
after the error to see if it still happened.nodeLayerVersion
of115
to that construct, but I'm not sure it's honoring that, since we see this error and we didn't upgrade the layer version. After we saw the error, we upgraded the layer version to119
.extensionLayerVersion
of64
. we upgraded to69
after seeing the errors.Specifications
Stacktrace
The text was updated successfully, but these errors were encountered: