Skip to content

Commit

Permalink
fix(runtime): prevent duplicate registration in otlp (#1045)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnons authored Nov 17, 2024
1 parent 4779d57 commit 2a3ab3d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/runtime/src/otlp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export async function setupOTLP(debug?: boolean) {
const exporter = new OTLPTraceExporter() // new ConsoleSpanExporter();
const processor = new BatchSpanProcessor(exporter)
traceProvider.addSpanProcessor(processor)
traceProvider.register()

metrics.setGlobalMeterProvider(meterProvider)
trace.setGlobalTracerProvider(traceProvider)
Expand Down

0 comments on commit 2a3ab3d

Please sign in to comment.