Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
tjholm committed Jul 20, 2023
1 parent 229f481 commit 6f91745
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/faas/v0/traceProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,11 @@ const newTracerProvider = (): NodeTracerProvider => {

const processor = localRun
? new NoopSpanProcessor()
: new BatchSpanProcessor(new OTLPTraceExporter({
url: 'http://localhost:4317',
}));
: new BatchSpanProcessor(
new OTLPTraceExporter({
url: 'http://localhost:4317',
})
);

provider.addSpanProcessor(processor);
provider.register();
Expand Down

0 comments on commit 6f91745

Please sign in to comment.