@instana/core
Advanced tools
Comparing version 1.106.3 to 1.106.4
{ | ||
"name": "@instana/core", | ||
"version": "1.106.3", | ||
"version": "1.106.4", | ||
"description": "Core library for Instana's Node.js packages", | ||
@@ -136,3 +136,3 @@ "main": "src/index.js", | ||
}, | ||
"gitHead": "b685e5af18538844266899be3628fc7fc6a6264d" | ||
"gitHead": "685c43c348db337c09b7ed03010710cd8454240f" | ||
} |
@@ -55,2 +55,6 @@ 'use strict'; | ||
if (serviceName != null && !parentSpan) { | ||
span.data.service = serviceName; | ||
} | ||
// If the client code has specified a trace ID/parent ID, use the provided IDs. | ||
@@ -246,3 +250,3 @@ if (traceId) { | ||
this.stack = []; | ||
this.data = serviceName != null ? { service: serviceName } : {}; | ||
this.data = {}; | ||
@@ -249,0 +253,0 @@ // properties used within the collector that should not be transmitted to the agent/backend |
@@ -99,4 +99,4 @@ 'use strict'; | ||
if (processedHeaders.correlationType && processedHeaders.correlationId) { | ||
span.data.correlationType = processedHeaders.correlationType; | ||
span.data.correlationId = processedHeaders.correlationId; | ||
span.crtp = processedHeaders.correlationType; | ||
span.crid = processedHeaders.correlationId; | ||
} | ||
@@ -103,0 +103,0 @@ if (processedHeaders.foreignParent) { |
@@ -74,4 +74,4 @@ 'use strict'; | ||
if (headers.correlationType && headers.correlationId) { | ||
span.data.correlationType = headers.correlationType; | ||
span.data.correlationId = headers.correlationId; | ||
span.crtp = headers.correlationType; | ||
span.crid = headers.correlationId; | ||
} | ||
@@ -78,0 +78,0 @@ if (headers.foreignParent) { |
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
10260
378591