-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Sentry config, ignore ResizeObserver errors
- Loading branch information
Showing
4 changed files
with
111 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import * as Sentry from '@sentry/nextjs' | ||
|
||
const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN | ||
|
||
Sentry.init({ | ||
dsn: SENTRY_DSN, | ||
|
||
// Set tracesSampleRate to 1.0 to capture 100% | ||
// of transactions for performance monitoring. | ||
// We recommend adjusting this value in production | ||
tracesSampleRate: 1.0, | ||
|
||
// ... | ||
|
||
// Note: if you want to override the automatic release value, do not set a | ||
// `release` value here - use the environment variable `SENTRY_RELEASE`, so | ||
// that it will also get attached to your source maps | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1720,27 +1720,27 @@ | |
domhandler "^5.0.3" | ||
selderee "^0.10.0" | ||
|
||
"@sentry-internal/tracing@7.56.0": | ||
version "7.56.0" | ||
resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.56.0.tgz#ba709258f2f0f3d8a36f9740403088b39212b843" | ||
integrity sha512-OKI4Pz/O13gng8hT9rNc+gRV3+P7nnk1HnHlV8fgaQydS6DsRxoDL1sHa42tZGbh7K9jqNAP3TC6VjBOsr2tXA== | ||
dependencies: | ||
"@sentry/core" "7.56.0" | ||
"@sentry/types" "7.56.0" | ||
"@sentry/utils" "7.56.0" | ||
tslib "^1.9.3" | ||
|
||
"@sentry/browser@7.56.0": | ||
version "7.56.0" | ||
resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.56.0.tgz#6bf3ff21bc2e9b66a72ea0c7dcc3572fdeb3bd8f" | ||
integrity sha512-qpyyw+NM/psbNAYMlTCCdWwxHHcogppEQ+Q40jGE4sKP2VRIjjyteJkUcaEMoGpbJXx9puzTWbpzqlQ8r15Now== | ||
dependencies: | ||
"@sentry-internal/tracing" "7.56.0" | ||
"@sentry/core" "7.56.0" | ||
"@sentry/replay" "7.56.0" | ||
"@sentry/types" "7.56.0" | ||
"@sentry/utils" "7.56.0" | ||
tslib "^1.9.3" | ||
"@sentry-internal/tracing@7.61.1": | ||
version "7.61.1" | ||
resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.61.1.tgz#8055b7dfbf89b7089a591b27e05484d5f6773948" | ||
integrity sha512-E8J6ZMXHGdWdmgKBK/ounuUppDK65c4Hphin6iVckDGMEATn0auYAKngeyRUMLof1167DssD8wxcIA4aBvmScA== | ||
dependencies: | ||
"@sentry/core" "7.61.1" | ||
"@sentry/types" "7.61.1" | ||
"@sentry/utils" "7.61.1" | ||
tslib "^2.4.1 || ^1.9.3" | ||
|
||
"@sentry/browser@7.61.1": | ||
version "7.61.1" | ||
resolved "https://registry.yarnpkg.com/@sentry/browser/-/browser-7.61.1.tgz#ce5005ea76d4c2e91c09a43b218c25cc5e9c1340" | ||
integrity sha512-v6Wv0O/PF+sqji+WWpJmxAlQafsiKmsXQLzKAIntVjl3HbYO5oVS3ubCyqfxSlLxIhM5JuHcEOLn6Zi3DPtpcw== | ||
dependencies: | ||
"@sentry-internal/tracing" "7.61.1" | ||
"@sentry/core" "7.61.1" | ||
"@sentry/replay" "7.61.1" | ||
"@sentry/types" "7.61.1" | ||
"@sentry/utils" "7.61.1" | ||
tslib "^2.4.1 || ^1.9.3" | ||
|
||
"@sentry/cli@^1.74.6": | ||
version "1.75.2" | ||
|
@@ -1754,89 +1754,89 @@ | |
proxy-from-env "^1.1.0" | ||
which "^2.0.2" | ||
|
||
"@sentry/core@7.56.0": | ||
version "7.56.0" | ||
resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.56.0.tgz#f4253e0d61f55444180a63e5278b62e57303f7cf" | ||
integrity sha512-Nuyyfh09Yz27kPo74fXHlrdmZeK6zrlJVtxQ6LkwuoaTBcNcesNXVaOtr6gjvUGUmsfriVPP3Jero5LXufV7GQ== | ||
"@sentry/core@7.61.1": | ||
version "7.61.1" | ||
resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.61.1.tgz#8043c7cecf5ca0601f6c61979fb2880ceac37287" | ||
integrity sha512-WTRt0J33KhUbYuDQZ5G58kdsNeQ5JYrpi6o+Qz+1xTv60DQq/tBGRJ7d86SkmdnGIiTs6W1hsxAtyiLS0y9d2A== | ||
dependencies: | ||
"@sentry/types" "7.56.0" | ||
"@sentry/utils" "7.56.0" | ||
tslib "^1.9.3" | ||
"@sentry/types" "7.61.1" | ||
"@sentry/utils" "7.61.1" | ||
tslib "^2.4.1 || ^1.9.3" | ||
|
||
"@sentry/integrations@7.56.0": | ||
version "7.56.0" | ||
resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-7.56.0.tgz#6fe812454fbccf00810f65667eb393b3bf298b92" | ||
integrity sha512-0d/E/R3MW+5bQ9wcHPD0h/B2KFOpUt+wQgN1kNk7atY12auDzHKuGCjPP87D/xVyRoma3ErFqZCRqwtvCj1cfQ== | ||
"@sentry/integrations@7.61.1": | ||
version "7.61.1" | ||
resolved "https://registry.yarnpkg.com/@sentry/integrations/-/integrations-7.61.1.tgz#ca9bf2fc59c852f5e73543bb7e69b181a4ef2d45" | ||
integrity sha512-mdmWzUQmW1viOiW0/Gi6AQ5LXukqhuefjzLdn5o6HMxiAgskIpNX+0+BOQ/6162/o7mHWSTNEHqEzMNTK2ppLw== | ||
dependencies: | ||
"@sentry/types" "7.56.0" | ||
"@sentry/utils" "7.56.0" | ||
"@sentry/types" "7.61.1" | ||
"@sentry/utils" "7.61.1" | ||
localforage "^1.8.1" | ||
tslib "^1.9.3" | ||
tslib "^2.4.1 || ^1.9.3" | ||
|
||
"@sentry/nextjs@^7.11.1": | ||
version "7.56.0" | ||
resolved "https://registry.yarnpkg.com/@sentry/nextjs/-/nextjs-7.56.0.tgz#75467c6d5efe35a18d014966bff935c2ac3e0f36" | ||
integrity sha512-s/HX6e3r8dS/683mbKfJymKg2DSqfQBeMRMxfp34Lg7Pzed/VLE9JLPkZq7BcS7leD0XQEflyxGYBKEq8iqeKA== | ||
"@sentry/nextjs@^7.61.1": | ||
version "7.61.1" | ||
resolved "https://registry.yarnpkg.com/@sentry/nextjs/-/nextjs-7.61.1.tgz#556bd48740dd67694ee54aaed042a22c255290ed" | ||
integrity sha512-ssq0AX+QaDzLSeA45lQLt3OVkzUNiNsI5loMU9gq+Bsts3KOHnykturFvdrb5T3WuIucE6PsswNjZIWqP+lrMg== | ||
dependencies: | ||
"@rollup/plugin-commonjs" "24.0.0" | ||
"@sentry/core" "7.56.0" | ||
"@sentry/integrations" "7.56.0" | ||
"@sentry/node" "7.56.0" | ||
"@sentry/react" "7.56.0" | ||
"@sentry/types" "7.56.0" | ||
"@sentry/utils" "7.56.0" | ||
"@sentry/core" "7.61.1" | ||
"@sentry/integrations" "7.61.1" | ||
"@sentry/node" "7.61.1" | ||
"@sentry/react" "7.61.1" | ||
"@sentry/types" "7.61.1" | ||
"@sentry/utils" "7.61.1" | ||
"@sentry/webpack-plugin" "1.20.0" | ||
chalk "3.0.0" | ||
rollup "2.78.0" | ||
stacktrace-parser "^0.1.10" | ||
tslib "^1.9.3" | ||
tslib "^2.4.1 || ^1.9.3" | ||
|
||
"@sentry/node@7.56.0": | ||
version "7.56.0" | ||
resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.56.0.tgz#ddeb34a848c8a544d0dbb5f2c3031615be040d2b" | ||
integrity sha512-QXbWy/ypRxfFd8iP6zLvHInYZyjGKPrkVNYt43mhKAZHm764NxX/29vDfj1FztgG9Z6lVLIG2eyqTvLruYmsWw== | ||
"@sentry/node@7.61.1": | ||
version "7.61.1" | ||
resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.61.1.tgz#bc49d321d0a511936f8bdd0bbd3ddc5e01b8d98c" | ||
integrity sha512-+crVAeymXdWZcDuwU9xySf4sVv2fHOFlr13XqeXl73q4zqKJM1IX4VUO9On3+jTyGfB5SCAuBBYpzA3ehBfeYw== | ||
dependencies: | ||
"@sentry-internal/tracing" "7.56.0" | ||
"@sentry/core" "7.56.0" | ||
"@sentry/types" "7.56.0" | ||
"@sentry/utils" "7.56.0" | ||
"@sentry-internal/tracing" "7.61.1" | ||
"@sentry/core" "7.61.1" | ||
"@sentry/types" "7.61.1" | ||
"@sentry/utils" "7.61.1" | ||
cookie "^0.4.1" | ||
https-proxy-agent "^5.0.0" | ||
lru_map "^0.3.3" | ||
tslib "^1.9.3" | ||
tslib "^2.4.1 || ^1.9.3" | ||
|
||
"@sentry/react@7.56.0": | ||
version "7.56.0" | ||
resolved "https://registry.yarnpkg.com/@sentry/react/-/react-7.56.0.tgz#7e2e9363a76c7d67854bdb179142a2f7f910d476" | ||
integrity sha512-dRnkZwspef5aEHV/eiLS/mhomFCXItylU8s78fzAn5QMTDGHmu5Pnhl5dxh/zbPUcdXqFA6GwJVucV4gzsNEJw== | ||
"@sentry/react@7.61.1": | ||
version "7.61.1" | ||
resolved "https://registry.yarnpkg.com/@sentry/react/-/react-7.61.1.tgz#88a62fe9a847ffb0feeff935c49737abd7904007" | ||
integrity sha512-n8xNT05gdERpETvq3GJZ2lP6HZYLRQQoUDc13egDzKf840MzCjle0LiLmsVhRv8AL1GnWaIPwnvTGvS4BuNlvw== | ||
dependencies: | ||
"@sentry/browser" "7.56.0" | ||
"@sentry/types" "7.56.0" | ||
"@sentry/utils" "7.56.0" | ||
"@sentry/browser" "7.61.1" | ||
"@sentry/types" "7.61.1" | ||
"@sentry/utils" "7.61.1" | ||
hoist-non-react-statics "^3.3.2" | ||
tslib "^1.9.3" | ||
tslib "^2.4.1 || ^1.9.3" | ||
|
||
"@sentry/replay@7.56.0": | ||
version "7.56.0" | ||
resolved "https://registry.yarnpkg.com/@sentry/replay/-/replay-7.56.0.tgz#8a49dcb45e9ea83bf905cec0d9b42fed4b8085bd" | ||
integrity sha512-bvjiJK1+SM/paLapuL+nEJ8CIF1bJqi0nnFyxUIi2L5L6yb2uMwfyT3IQ+kz0cXJsLdb3HN4WMphVjyiU9pFdg== | ||
"@sentry/replay@7.61.1": | ||
version "7.61.1" | ||
resolved "https://registry.yarnpkg.com/@sentry/replay/-/replay-7.61.1.tgz#20cdb5f31b5ce25a7afe11bcaaf67b1f875d2833" | ||
integrity sha512-Nsnnzx8c+DRjnfQ0Md11KGdY21XOPa50T2B3eBEyFAhibvYEc/68PuyVWkMBQ7w9zo/JV+q6HpIXKD0THUtqZA== | ||
dependencies: | ||
"@sentry/core" "7.56.0" | ||
"@sentry/types" "7.56.0" | ||
"@sentry/utils" "7.56.0" | ||
"@sentry/core" "7.61.1" | ||
"@sentry/types" "7.61.1" | ||
"@sentry/utils" "7.61.1" | ||
|
||
"@sentry/types@7.56.0": | ||
version "7.56.0" | ||
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.56.0.tgz#9042a099cf9e8816d081886d24b88082a5d9f87a" | ||
integrity sha512-5WjhVOQm75ItOytOx2jTx+5yw8/qJ316+g1Di8dS9+kgIi1zniqdMcX00C2yYe3FMUgFB49PegCUYulm9Evapw== | ||
"@sentry/types@7.61.1": | ||
version "7.61.1" | ||
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.61.1.tgz#225912689459c92e62f0b6e3ff145f6dbf72ff0e" | ||
integrity sha512-CpPKL+OfwYOduRX9AT3p+Ie1fftgcCPd5WofTVVq7xeWRuerOOf2iJd0v+8yHQ25omgres1YOttDkCcvQRn4Jw== | ||
|
||
"@sentry/utils@7.56.0": | ||
version "7.56.0" | ||
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.56.0.tgz#e60e4935d17b2197584abf6ce61b522ad055352c" | ||
integrity sha512-wgeX7bufxc//TjjSIE+gCMm8hVId7Jzvc+f441bYrWnNZBuzPIDW2BummCcPrKzSYe5GeYZDTZGV8YZGMLGBjw== | ||
"@sentry/utils@7.61.1": | ||
version "7.61.1" | ||
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.61.1.tgz#1545db778b7309d122a7f04eb0e803173c80c581" | ||
integrity sha512-pUPXoiuYrTEPcBHjRizFB6eZEGm/6cTBwdWSHUjkGKvt19zuZ1ixFJQV6LrIL/AMeiQbmfQ+kTd/8SR7E9rcTQ== | ||
dependencies: | ||
"@sentry/types" "7.56.0" | ||
tslib "^1.9.3" | ||
"@sentry/types" "7.61.1" | ||
tslib "^2.4.1 || ^1.9.3" | ||
|
||
"@sentry/[email protected]": | ||
version "1.20.0" | ||
|
@@ -6869,7 +6869,7 @@ tsconfig-paths@^3.14.1: | |
minimist "^1.2.6" | ||
strip-bom "^3.0.0" | ||
|
||
tslib@^1.8.1, tslib@^1.9.3: | ||
tslib@^1.8.1: | ||
version "1.14.1" | ||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" | ||
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== | ||
|
@@ -6879,6 +6879,11 @@ tslib@^2.1.0, tslib@^2.4.0: | |
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.3.tgz#24944ba2d990940e6e982c4bea147aba80209913" | ||
integrity sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w== | ||
|
||
"tslib@^2.4.1 || ^1.9.3": | ||
version "2.6.1" | ||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.1.tgz#fd8c9a0ff42590b25703c0acb3de3d3f4ede0410" | ||
integrity sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig== | ||
|
||
tsutils@^3.21.0: | ||
version "3.21.0" | ||
resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" | ||
|
e81670a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
explorer – ./
explorer-one.vercel.app
explorer-git-master-ooni1.vercel.app
explorer-ooni1.vercel.app