Skip to content

Commit

Permalink
Merge pull request #71 from Team-return/#49/sentry-setting
Browse files Browse the repository at this point in the history
  • Loading branch information
dnjsdmswl authored Oct 10, 2024
2 parents 5d526fc + e4fb7a9 commit 1e591e7
Show file tree
Hide file tree
Showing 4 changed files with 91 additions and 91 deletions.
82 changes: 41 additions & 41 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@next/font": "^13.5.2",
"@sentry/nextjs": "^8",
"@sentry/nextjs": "^8.33.1",
"@sentry/utils": "^8.33.1",
"@tanstack/react-query": "4.33.0",
"@team-return/design-system": "^1.1.15",
Expand Down
24 changes: 12 additions & 12 deletions sentry.client.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
// The config you add here will be used whenever a users loads a page in their browser.
// https://docs.sentry.io/platforms/javascript/guides/nextjs/

import * as Sentry from '@sentry/nextjs';
import * as Sentry from "@sentry/nextjs";

Sentry.init({
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,

// Add optional integrations for additional features
integrations: [
Expand All @@ -15,17 +15,17 @@ Sentry.init({
}),
],

// Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control.
tracesSampleRate: 1,
// Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control.
tracesSampleRate: 1,

// Define how likely Replay events are sampled.
// This sets the sample rate to be 10%. You may want this to be 100% while
// in development and sample at a lower rate in production
replaysSessionSampleRate: 0.1,
// Define how likely Replay events are sampled.
// This sets the sample rate to be 10%. You may want this to be 100% while
// in development and sample at a lower rate in production
replaysSessionSampleRate: 0.1,

// Define how likely Replay events are sampled when an error occurs.
replaysOnErrorSampleRate: 1.0,
// Define how likely Replay events are sampled when an error occurs.
replaysOnErrorSampleRate: 1.0,

// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,
// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,
});
74 changes: 37 additions & 37 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2620,66 +2620,66 @@ __metadata:
languageName: node
linkType: hard

"@sentry/cli-darwin@npm:2.36.6":
version: 2.36.6
resolution: "@sentry/cli-darwin@npm:2.36.6"
"@sentry/cli-darwin@npm:2.37.0":
version: 2.37.0
resolution: "@sentry/cli-darwin@npm:2.37.0"
conditions: os=darwin
languageName: node
linkType: hard

"@sentry/cli-linux-arm64@npm:2.36.6":
version: 2.36.6
resolution: "@sentry/cli-linux-arm64@npm:2.36.6"
"@sentry/cli-linux-arm64@npm:2.37.0":
version: 2.37.0
resolution: "@sentry/cli-linux-arm64@npm:2.37.0"
conditions: (os=linux | os=freebsd) & cpu=arm64
languageName: node
linkType: hard

"@sentry/cli-linux-arm@npm:2.36.6":
version: 2.36.6
resolution: "@sentry/cli-linux-arm@npm:2.36.6"
"@sentry/cli-linux-arm@npm:2.37.0":
version: 2.37.0
resolution: "@sentry/cli-linux-arm@npm:2.37.0"
conditions: (os=linux | os=freebsd) & cpu=arm
languageName: node
linkType: hard

"@sentry/cli-linux-i686@npm:2.36.6":
version: 2.36.6
resolution: "@sentry/cli-linux-i686@npm:2.36.6"
"@sentry/cli-linux-i686@npm:2.37.0":
version: 2.37.0
resolution: "@sentry/cli-linux-i686@npm:2.37.0"
conditions: (os=linux | os=freebsd) & (cpu=x86 | cpu=ia32)
languageName: node
linkType: hard

"@sentry/cli-linux-x64@npm:2.36.6":
version: 2.36.6
resolution: "@sentry/cli-linux-x64@npm:2.36.6"
"@sentry/cli-linux-x64@npm:2.37.0":
version: 2.37.0
resolution: "@sentry/cli-linux-x64@npm:2.37.0"
conditions: (os=linux | os=freebsd) & cpu=x64
languageName: node
linkType: hard

"@sentry/cli-win32-i686@npm:2.36.6":
version: 2.36.6
resolution: "@sentry/cli-win32-i686@npm:2.36.6"
"@sentry/cli-win32-i686@npm:2.37.0":
version: 2.37.0
resolution: "@sentry/cli-win32-i686@npm:2.37.0"
conditions: os=win32 & (cpu=x86 | cpu=ia32)
languageName: node
linkType: hard

"@sentry/cli-win32-x64@npm:2.36.6":
version: 2.36.6
resolution: "@sentry/cli-win32-x64@npm:2.36.6"
"@sentry/cli-win32-x64@npm:2.37.0":
version: 2.37.0
resolution: "@sentry/cli-win32-x64@npm:2.37.0"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard

"@sentry/cli@npm:^2.33.1":
version: 2.36.6
resolution: "@sentry/cli@npm:2.36.6"
dependencies:
"@sentry/cli-darwin": 2.36.6
"@sentry/cli-linux-arm": 2.36.6
"@sentry/cli-linux-arm64": 2.36.6
"@sentry/cli-linux-i686": 2.36.6
"@sentry/cli-linux-x64": 2.36.6
"@sentry/cli-win32-i686": 2.36.6
"@sentry/cli-win32-x64": 2.36.6
version: 2.37.0
resolution: "@sentry/cli@npm:2.37.0"
dependencies:
"@sentry/cli-darwin": 2.37.0
"@sentry/cli-linux-arm": 2.37.0
"@sentry/cli-linux-arm64": 2.37.0
"@sentry/cli-linux-i686": 2.37.0
"@sentry/cli-linux-x64": 2.37.0
"@sentry/cli-win32-i686": 2.37.0
"@sentry/cli-win32-x64": 2.37.0
https-proxy-agent: ^5.0.0
node-fetch: ^2.6.7
progress: ^2.0.3
Expand All @@ -2702,7 +2702,7 @@ __metadata:
optional: true
bin:
sentry-cli: bin/sentry-cli
checksum: d1848fab01be38233f72603ee363bbff808d2c39b4bd59ae418d8a8c8bbce0ad0ced5e7cd3146aa5c74aa79ed1a914bb5dec384aaf94b1f944d363c6c35e4675
checksum: 92e88688b5148e5abed2cc253290008da89029c5816d7f1bdb5fbed035305c0bcfb5f49e4976ff8ced5fbb876d28e655eef838d32c7a388d3582654ff67d65e0
languageName: node
linkType: hard

Expand All @@ -2716,7 +2716,7 @@ __metadata:
languageName: node
linkType: hard

"@sentry/nextjs@npm:^8":
"@sentry/nextjs@npm:^8.33.1":
version: 8.33.1
resolution: "@sentry/nextjs@npm:8.33.1"
dependencies:
Expand Down Expand Up @@ -4533,9 +4533,9 @@ __metadata:
linkType: hard

"electron-to-chromium@npm:^1.5.28":
version: 1.5.32
resolution: "electron-to-chromium@npm:1.5.32"
checksum: ff75702fe4e62a23b80cd74db0fb29db60d1424716b1755fb79ffe01d214a2d3dc74bb27355b8e41994e3b6e24f3b57b46a060ea510afa3d1b6711fbf4b76219
version: 1.5.35
resolution: "electron-to-chromium@npm:1.5.35"
checksum: 7eca311ebce5ca5bbef7854becc7c84ea213edc8d0d02dedf998cd695e32e5bffb9803846a9a1801f29ce8f31d6b165c9d319e76923f93c2855fae80846f7610
languageName: node
linkType: hard

Expand Down Expand Up @@ -6653,7 +6653,7 @@ __metadata:
resolution: "my-app@workspace:."
dependencies:
"@next/font": ^13.5.2
"@sentry/nextjs": ^8
"@sentry/nextjs": ^8.33.1
"@sentry/utils": ^8.33.1
"@tanstack/react-query": 4.33.0
"@team-return/design-system": ^1.1.15
Expand Down

0 comments on commit 1e591e7

Please sign in to comment.