From 7e1298fc07c7290bb9d3a814fcb08bd30d9633b9 Mon Sep 17 00:00:00 2001 From: Charly Gomez Date: Wed, 27 Aug 2025 11:26:08 +0200 Subject: [PATCH] fix next tracing config docs --- docs/platforms/javascript/guides/nextjs/index.mdx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/platforms/javascript/guides/nextjs/index.mdx b/docs/platforms/javascript/guides/nextjs/index.mdx index 97602d8a94f465..3306adfe15844f 100644 --- a/docs/platforms/javascript/guides/nextjs/index.mdx +++ b/docs/platforms/javascript/guides/nextjs/index.mdx @@ -71,9 +71,6 @@ Sentry.init({ sendDefaultPii: true, integrations: [ - // ___PRODUCT_OPTION_START___ performance - Sentry.browserTracingIntegration(), - // ___PRODUCT_OPTION_END___ performance // ___PRODUCT_OPTION_START___ session-replay // Replay may only be enabled for the client-side Sentry.replayIntegration(), @@ -108,6 +105,10 @@ Sentry.init({ replaysOnErrorSampleRate: 1.0, // ___PRODUCT_OPTION_END___ session-replay }); + +// ___PRODUCT_OPTION_START___ performance +export const onRouterTransitionStart = Sentry.captureRouterTransitionStart; +// ___PRODUCT_OPTION_END___ performance ``` ### Server-Side Configuration