|
@@ -279,11 +279,13 @@ const config: Config.InitialOptions = {
|
|
|
sentryConfig: {
|
|
|
init: {
|
|
|
// jest project under Sentry organization (dev productivity team)
|
|
|
- dsn: 'https://3fe1dce93e3a4267979ebad67f3de327@sentry.io/4857230',
|
|
|
+ dsn: CI
|
|
|
+ ? 'https://3fe1dce93e3a4267979ebad67f3de327@o1.ingest.us.sentry.io/4857230'
|
|
|
+ : false,
|
|
|
// Use production env to reduce sampling of commits on master
|
|
|
environment: CI ? (IS_MASTER_BRANCH ? 'ci:master' : 'ci:pull_request') : 'local',
|
|
|
tracesSampleRate: CI ? 1 : 0.5,
|
|
|
- profilesSampleRate: 0.1,
|
|
|
+ profilesSampleRate: CI ? 0.1 : 0,
|
|
|
transportOptions: {keepAlive: true},
|
|
|
},
|
|
|
transactionOptions: {
|