datadog-lambda-js
Advanced tools
Comparing version 4.63.0 to 4.64.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.datadogLambdaVersion = void 0; | ||
exports.datadogLambdaVersion = "4.63.0"; | ||
exports.datadogLambdaVersion = "4.64.0"; | ||
//# sourceMappingURL=constants.js.map |
@@ -175,2 +175,6 @@ "use strict"; | ||
case 2: | ||
if (traceListener.currentSpan && finalConfig.captureLambdaPayload) { | ||
utils_1.tagObject(traceListener.currentSpan, "function.request", localEvent); | ||
utils_1.tagObject(traceListener.currentSpan, "function.response", localResult); | ||
} | ||
if (traceListener.triggerTags) { | ||
@@ -182,6 +186,2 @@ statusCode = trigger_1.extractHTTPStatusCodeTag(traceListener.triggerTags, localResult); | ||
if (traceListener.currentSpan) { | ||
if (finalConfig.captureLambdaPayload) { | ||
utils_1.tagObject(traceListener.currentSpan, "function.request", localEvent); | ||
utils_1.tagObject(traceListener.currentSpan, "function.response", localResult); | ||
} | ||
traceListener.currentSpan.setTag("http.status_code", statusCode); | ||
@@ -188,0 +188,0 @@ } |
{ | ||
"name": "datadog-lambda-js", | ||
"version": "4.63.0", | ||
"version": "4.64.0", | ||
"description": "Lambda client library that supports hybrid tracing in node js", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
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
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
284963