Skip to content

Commit

Permalink
Don't flush spanProcessor to leave it to Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
Rindrics committed Nov 4, 2024
1 parent ebfe2d3 commit 6f10773
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion instrumentation.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ export async function flushTelemetry() {
await Promise.all([
metricReader.forceFlush(),
loggerProvider.forceFlush(),
spanProcessor.forceFlush(),
new Promise((resolve) => setTimeout(resolve, 10000)), // wait for exporting
]);

Expand Down

0 comments on commit 6f10773

Please sign in to comment.