@instana/aws-lambda
Advanced tools
Comparing version 3.19.0 to 3.20.0
@@ -6,2 +6,8 @@ # Change Log | ||
# [3.20.0](https://github.com/instana/nodejs/compare/v3.19.0...v3.20.0) (2024-10-01) | ||
### Bug Fixes | ||
- **lambda:** changed memory warning when using the lambda extension ([#1344](https://github.com/instana/nodejs/issues/1344)) ([3e94f9e](https://github.com/instana/nodejs/commit/3e94f9eeb7ba35822cc4bf663f3a8f30c3e3bcda)) | ||
# [3.19.0](https://github.com/instana/nodejs/compare/v3.18.2...v3.19.0) (2024-09-25) | ||
@@ -8,0 +14,0 @@ |
{ | ||
"name": "@instana/aws-lambda", | ||
"version": "3.19.0", | ||
"version": "3.20.0", | ||
"description": "Instana tracing and monitoring for Node.js based AWS Lambdas", | ||
@@ -72,6 +72,6 @@ "author": { | ||
"dependencies": { | ||
"@instana/core": "3.19.0", | ||
"@instana/serverless": "3.19.0" | ||
"@instana/core": "3.20.0", | ||
"@instana/serverless": "3.20.0" | ||
}, | ||
"gitHead": "44d8ef19a478f6653ea0dfce53584b15e4629507" | ||
"gitHead": "8533d24ec14a19d8555a65df0c04824a6e263e27" | ||
} |
@@ -348,9 +348,24 @@ /* | ||
if (memorySize < 256) { | ||
logger.debug( | ||
let logFn = logger.debug; | ||
// CASE: We try to determine if the customer has the extension installed. We need to put a warning | ||
// because the extension is **not** working and might block the lambda extension when | ||
// its not used correctly e.g. slow startup of extension or waiting for invokes or incoming spans | ||
// from the tracer. | ||
if (process.env._HANDLER?.includes('instana-aws-lambda-auto-wrap')) { | ||
logFn = logger.warn; | ||
} | ||
logFn( | ||
'The Lambda function is configured with less than 256 MB of memory according to the value of ' + | ||
`AWS_LAMBDA_FUNCTION_MEMORY_SIZE: ${memorySetting}. Offloading data via a Lambda extension does currently ` + | ||
'not work reliably with low memory settings, therefore not using the Lambda extension.' | ||
`AWS_LAMBDA_FUNCTION_MEMORY_SIZE: ${memorySetting}. The Lambda extension does ` + | ||
'not work with 256mb reliably with low memory settings. ' + | ||
'As the extension is already running, it might ' + | ||
'block the lambda execution which can result in larger execution times. Please configure at least ' + | ||
'256 MB of memory for your Lambda function.' | ||
); | ||
return false; | ||
} | ||
return true; | ||
@@ -357,0 +372,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80971
1362
21
+ Added@instana/core@3.20.0(transitive)
- Removed@instana/core@3.19.0(transitive)
Updated@instana/core@3.20.0
Updated@instana/serverless@3.20.0