@instana/aws-lambda
Advanced tools
Comparing version 3.15.1 to 3.15.2
@@ -6,2 +6,8 @@ # Change Log | ||
## [3.15.2](https://github.com/instana/nodejs/compare/v3.15.1...v3.15.2) (2024-08-27) | ||
### Bug Fixes | ||
- **aws-lambda:** improved debug logs for number of spans ([c7a3c34](https://github.com/instana/nodejs/commit/c7a3c3407ea83eeac2d54419163a0b2265a94bb6)) | ||
## [3.15.1](https://github.com/instana/nodejs/compare/v3.15.0...v3.15.1) (2024-08-19) | ||
@@ -8,0 +14,0 @@ |
{ | ||
"name": "@instana/aws-lambda", | ||
"version": "3.15.1", | ||
"version": "3.15.2", | ||
"description": "Instana tracing and monitoring for Node.js based AWS Lambdas", | ||
@@ -72,6 +72,6 @@ "author": { | ||
"dependencies": { | ||
"@instana/core": "3.15.1", | ||
"@instana/serverless": "3.15.1" | ||
"@instana/core": "3.15.2", | ||
"@instana/serverless": "3.15.2" | ||
}, | ||
"gitHead": "8c0ebb86506d1430ab47026d151008a4a4f469b5" | ||
"gitHead": "654046cc3111e0ee43d4d32dfb70b76478d0d99c" | ||
} |
@@ -375,4 +375,5 @@ /* | ||
function sendToBackend({ spans, metricsPayload, finalLambdaRequest, callback }) { | ||
const runBackendConnector = () => | ||
backendConnector.sendBundle({ spans, metrics: metricsPayload }, finalLambdaRequest, callback); | ||
const runBackendConnector = () => { | ||
return backendConnector.sendBundle({ spans, metrics: metricsPayload }, finalLambdaRequest, callback); | ||
}; | ||
@@ -436,7 +437,8 @@ // CASE: Customer uses process.env.INSTANA_AGENT_KEY | ||
// We want that all upcoming spans are send immediately to the BE. | ||
// Span collection happens all the time and they are buffered via spanBuffer. | ||
// The spanBuffer will only send out the spans early if the payload becomes too big. | ||
// When the Lambda handler finishes we trigger `sendBundle`. | ||
// Span collection happens all the time, but for AWS Lambda sending spans early via spanBuffer | ||
// is disabled because we cannot use `setTimeout` on AWS Lambda. | ||
// When the Lambda handler finishes we send all spans via `sendBundle`. | ||
// If there is any span collected afterwards (async operations), we send them out | ||
// directly and that's why we set `setTransmitImmediate` to true. | ||
// We need to rework the default behavior via https://jsw.ibm.com/browse/INSTA-13498 | ||
spanBuffer.setTransmitImmediate(true); | ||
@@ -443,0 +445,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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
78371
1350
1
+ Added@instana/core@3.15.2(transitive)
- Removed@instana/core@3.15.1(transitive)
Updated@instana/core@3.15.2
Updated@instana/serverless@3.15.2