📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
Add missing Sentry config vars
Blue Mouse96ea54a2302a
diff --git a/backend/apps/cloud/src/instrument.ts b/backend/apps/cloud/src/instrument.tsindex 455875047..7645105e5 100644--- a/backend/apps/cloud/src/instrument.ts+++ b/backend/apps/cloud/src/instrument.ts@@ -8,6 +8,8 @@ const isProduction = process.env.NODE_ENV === 'production'if (process.env.SENTRY_ENABLED === 'true') {Sentry.init({dsn: process.env.SENTRY_DSN,+ environment: process.env.NODE_ENV || 'development',+ profilesSampleRate: isProduction ? 0.2 : 1,integrations: [nodeProfilingIntegration()],tracesSampler: ({ name, attributes, parentSampled }) => {// Do not sample Telegram webhook-related traces