From 3fd45146d15bb1b92d7ef466e080a749433bb859 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kry=C5=A1tof=20Wold=C5=99ich?= <31292499+krystofwoldrich@users.noreply.github.com> Date: Mon, 31 Jul 2023 17:31:55 +0200 Subject: [PATCH] chore(sample): Change environment to `dev` to ensure 100% sampling (#3221) --- sample-new-architecture/src/App.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/sample-new-architecture/src/App.tsx b/sample-new-architecture/src/App.tsx index 6c52b98ed..d3b535d1c 100644 --- a/sample-new-architecture/src/App.tsx +++ b/sample-new-architecture/src/App.tsx @@ -30,6 +30,7 @@ Sentry.init({ // Replace the example DSN below with your own DSN: dsn: SENTRY_INTERNAL_DSN, debug: true, + environment: 'dev', beforeSend: (event: Sentry.Event) => { console.log('Event beforeSend:', event.event_id); return event;