@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.
Files changed (2) hide show
  1. package/libs/index.mjs +2 -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: false, requireParentforIncomingSpans: false, ignoreIncomingRequestHook, }),
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: false, }),
117
+ new IORedisInstrumentation({ requireParentSpan: true, }),
118
118
  ];
119
119
 
120
120
  if (enableFsInstrumentation) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saidsef/tracing-node",
3
- "version": "3.5.3",
3
+ "version": "3.5.4",
4
4
  "description": "tracing NodeJS - Wrapper for OpenTelemetry instrumentation packages",
5
5
  "main": "libs/index.mjs",
6
6
  "scripts": {