From 74f6d112eea01e127c5267ed66e6496a074a977a Mon Sep 17 00:00:00 2001 From: Matchu Date: Mon, 6 Nov 2023 12:30:53 -0800 Subject: [PATCH] Disable Sentry I want to restrict our monitoring just to the wardrobe-2020 fork on the main app now! --- pages/_app.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pages/_app.tsx b/pages/_app.tsx index 91a96d6..e3d4402 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -180,8 +180,11 @@ function setupLogging() { /^moz-extension:\/\//, ], - // Since we're only tracking first-page loads and not navigations, 100% - // sampling isn't actually so much! Tune down if it becomes a problem, tho. - tracesSampleRate: 1.0, + // Don't actually send anything to Sentry though… we want to focus on + // errors from the new main app! + // TODO: If this codebase were to continue, we would want to remove Sentry, + // or make its output more reliable! + sampleRate: 0, + tracesSampleRate: 0, }); }