Skip to content

Commit 86b3e5a

Browse files
committed
fix(profiling-node): Ensure profileId is added to transaction event
1 parent d9d3b06 commit 86b3e5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/profiling-node/src/integration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function setupAutomatedSpanProfiling(client: NodeClient): void {
8585
// Unref timeout so it doesn't keep the process alive.
8686
timeout.unref();
8787

88-
getCurrentScope().setContext('profile', { profile_id });
88+
getIsolationScope().setContext('profile', { profile_id });
8989
spanToProfileIdMap.set(span, profile_id);
9090
}
9191
});

0 commit comments

Comments
 (0)