Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@instana/aws-lambda

Package Overview
Dependencies
Maintainers
0
Versions
235
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instana/aws-lambda - npm Package Compare versions

Comparing version 3.19.0 to 3.20.0

6

CHANGELOG.md

@@ -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 @@

8

package.json
{
"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 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc