@saidsef/tracing-node 3.2.0 → 3.2.1
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 +1 -1
- package/package.json +1 -1
package/libs/index.mjs
CHANGED
|
@@ -102,7 +102,7 @@ export function setupTracing(options = {}) {
|
|
|
102
102
|
// Register the span processor with the tracer provider
|
|
103
103
|
const exporter = new OTLPTraceExporter(exportOptions);
|
|
104
104
|
const spanProcessor = new BatchSpanProcessor(exporter);
|
|
105
|
-
tracerProvider.
|
|
105
|
+
tracerProvider.activeSpanProcessor(spanProcessor);
|
|
106
106
|
|
|
107
107
|
// Ignore spans from static assets.
|
|
108
108
|
const ignoreIncomingRequestHook = (req) => {
|