I want to disable Sentry completely, I was thinking of using the following condition if (process.env.NODE_ENV === 'production'), as the docs say: https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/options/#enabled
but I'm not sure how to disable the functions found in the instrumentation.ts files.
export const onRequestError = Sentry.captureRequestError; (server side)
export const onRouterTransitionStart = Sentry.captureRouterTransitionStart; (client side)
Any suggestions? how do you disable Sentry? I'm new to using Sentry
Learn more about how the SDK can be configured via options. These are being passed to the init function and therefore set when the SDK is first initialized.