🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More
Socket
Book a DemoSign in
Socket

@instana/aws-lambda

Package Overview
Dependencies
Maintainers
4
Versions
299
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
5.1.0
to
5.2.0
+11
-0
CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [5.2.0](https://github.com/instana/nodejs/compare/v5.1.0...v5.2.0) (2026-01-19)
### Bug Fixes
* **aws-lambda:** improved ssm and coldstarts ([#2199](https://github.com/instana/nodejs/issues/2199)) ([a1e5208](https://github.com/instana/nodejs/commit/a1e5208d8aea50f52a235a75a75672d94a19192b))
# [5.1.0](https://github.com/instana/nodejs/compare/v5.0.2...v5.1.0) (2026-01-13)

@@ -8,0 +19,0 @@

+4
-4
{
"name": "@instana/aws-lambda",
"version": "5.1.0",
"version": "5.2.0",
"description": "Instana tracing and monitoring for Node.js based AWS Lambdas",

@@ -72,7 +72,7 @@ "author": {

"dependencies": {
"@instana/core": "5.1.0",
"@instana/serverless": "5.1.0",
"@instana/core": "5.2.0",
"@instana/serverless": "5.2.0",
"semver": "^7.7.3"
},
"gitHead": "41872ac4074d33d0c66970a672baa4363c99a0a0"
"gitHead": "8bbcaf378404d6a521286fe0e5c987e967d6fc00"
}

@@ -14,2 +14,3 @@ /*

let logger;
let coldStart;

@@ -37,4 +38,5 @@ module.exports.reset = () => {

module.exports.init = config => {
module.exports.init = (config, _coldStart) => {
logger = config.logger;
coldStart = _coldStart;

@@ -111,6 +113,11 @@ // CASE: INSTANA_SSM_PARAM_NAME is not set, skip

const endInMs = Date.now();
const awsTimeoutInMs = process.env.INSTANA_AWS_SSM_TIMEOUT_IN_MS
let awsTimeoutInMs = process.env.INSTANA_AWS_SSM_TIMEOUT_IN_MS
? Number(process.env.INSTANA_AWS_SSM_TIMEOUT_IN_MS)
: 1000;
// CASE: cold start will freeze the handler for a while and we have to allow more time to get the SSM response
if (coldStart) {
awsTimeoutInMs += 2000;
}
// CASE: The time between SSM initialization and waitAndGetInstanaKey is too long to wait for the AWS response.

@@ -117,0 +124,0 @@ // See init fn - we fetch the key as early as possible.

@@ -316,3 +316,3 @@ /*

// initialized after the core.
ssm.init(config);
ssm.init(config, coldStart);

@@ -319,0 +319,0 @@ spanBuffer.setIsFaaS(true);