Files
myeasycms-v2/packages/monitoring/sentry
giancarlo de15abb801 Update Supabase and Sentry dependencies
Updated dependencies for Supabase-js from version 2.43.0 to 2.43.1 and Sentry from various 7.112.2 versions to 7.113.0. It was necessary to ensure compatibility, bug fixes, and to benefit from new features and improvements.
2024-05-04 11:48:19 +07:00
..
2024-04-23 22:51:45 +07:00

Sentry Monitoring / @kit/sentry

Please set the following environment variable:

NEXT_PUBLIC_MONITORING_PROVIDER=sentry
NEXT_PUBLIC_SENTRY_DSN=your_dsn

Create the following file at the root of your project:

export * from '@kit/sentry/config/client';

Create the following file at the root of your project:

export * from '@kit/sentry/config/server';

Create the following file at the root of your project:

export * from '@kit/sentry/config/edge';

Finally, update the Next.js configuration in your next.config.js file:

import { withSentryConfig } from "@sentry/nextjs";

// wrap your Next.js configuration with the Sentry configuration
withSentryConfig(nextConfig);