@saidsef/tracing-node 3.5.3 → 3.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/libs/index.mjs +2 -2
- package/package.json +1 -1
package/libs/index.mjs
CHANGED
|
@@ -109,12 +109,12 @@ export function setupTracing(options = {}) {
|
|
|
109
109
|
|
|
110
110
|
// Register instrumentations
|
|
111
111
|
const instrumentations = [
|
|
112
|
-
new HttpInstrumentation({ serverName: serviceName, requireParentforOutgoingSpans:
|
|
112
|
+
new HttpInstrumentation({ serverName: serviceName, requireParentforOutgoingSpans: true, requireParentforIncomingSpans: true, ignoreIncomingRequestHook, }),
|
|
113
113
|
new ExpressInstrumentation({ ignoreIncomingRequestHook, }),
|
|
114
114
|
new PinoInstrumentation(),
|
|
115
115
|
new ConnectInstrumentation(),
|
|
116
116
|
new AwsInstrumentation({ sqsExtractContextPropagationFromPayload: true, }),
|
|
117
|
-
new IORedisInstrumentation({ requireParentSpan:
|
|
117
|
+
new IORedisInstrumentation({ requireParentSpan: true, }),
|
|
118
118
|
];
|
|
119
119
|
|
|
120
120
|
if (enableFsInstrumentation) {
|