We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d889aa commit 9c9b9b5Copy full SHA for 9c9b9b5
packages/nextjs/src/server/index.ts
@@ -301,6 +301,9 @@ export function init(options: NodeOptions): NodeClient | undefined {
301
),
302
);
303
304
+ // Use the preprocessEvent hook instead of an event processor, so that the users event processors receive the most
305
+ // up-to-date value, but also so that the logic that detects changes to the transaction names to set the source to
306
+ // "custom", doesn't trigger.
307
client?.on('preprocessEvent', event => {
308
// Enhance route handler transactions
309
if (
0 commit comments