Skip to content

Commit

Permalink
fix: span processor v2 (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
saidsef authored Feb 22, 2025
1 parent 4188f4b commit 156ace0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function setupTracing(options = {}) {
// Register the span processor with the tracer provider
const exporter = new OTLPTraceExporter(exportOptions);
const spanProcessor = new BatchSpanProcessor(exporter);
tracerProvider.spanProcessor(spanProcessor);
tracerProvider.activeSpanProcessor(spanProcessor);

// Ignore spans from static assets.
const ignoreIncomingRequestHook = (req) => {
Expand Down

0 comments on commit 156ace0

Please sign in to comment.