Merged in chore/upgrade-sentry (pull request #3191)
feat: upgrade sentry and use metrics * feat: upgrade sentry and use metrics * remove ununsed deps * rename span * . Approved-by: Linus Flood
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
"@scandic-hotels/design-system": "workspace:*",
|
||||
"@scandic-hotels/tracking": "workspace:*",
|
||||
"@scandic-hotels/trpc": "workspace:*",
|
||||
"@sentry/nextjs": "^10.11.0",
|
||||
"@sentry/nextjs": "^10.26.0",
|
||||
"@swc/plugin-formatjs": "^3.2.2",
|
||||
"@tanstack/react-query": "^5.75.5",
|
||||
"@tanstack/react-query-devtools": "^5.75.5",
|
||||
|
||||
@@ -21,5 +21,6 @@ async function configureSentry() {
|
||||
tracesSampleRate: env.SENTRY_SERVER_SAMPLERATE,
|
||||
denyUrls: denyUrls,
|
||||
enableLogs: true,
|
||||
enableMetrics: true,
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import crypto from "node:crypto"
|
||||
|
||||
import Sentry from "@sentry/nextjs"
|
||||
import * as Sentry from "@sentry/nextjs"
|
||||
import jwt from "jsonwebtoken"
|
||||
|
||||
import { type WarmupFunctionsKey } from "@/services/warmup/warmupKeys"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import Sentry from "@sentry/nextjs"
|
||||
import * as Sentry from "@sentry/nextjs"
|
||||
|
||||
export const denyUrls: (string | RegExp)[] = [
|
||||
// Ignore preview urls
|
||||
|
||||
@@ -29,12 +29,6 @@
|
||||
"@netlify/blobs": "^8.1.0",
|
||||
"@netlify/functions": "^3.0.0",
|
||||
"@netlify/plugin-nextjs": "^5.14.4",
|
||||
"@opentelemetry/api": "^1.9.0",
|
||||
"@opentelemetry/api-logs": "^0.56.0",
|
||||
"@opentelemetry/instrumentation": "^0.56.0",
|
||||
"@opentelemetry/resources": "^1.29.0",
|
||||
"@opentelemetry/sdk-logs": "^0.56.0",
|
||||
"@opentelemetry/sdk-trace-base": "^1.29.0",
|
||||
"@radix-ui/react-slot": "^1.2.2",
|
||||
"@react-aria/ssr": "^3.9.8",
|
||||
"@scandic-hotels/booking-flow": "workspace:*",
|
||||
@@ -42,7 +36,7 @@
|
||||
"@scandic-hotels/design-system": "workspace:*",
|
||||
"@scandic-hotels/tracking": "workspace:*",
|
||||
"@scandic-hotels/trpc": "workspace:*",
|
||||
"@sentry/nextjs": "^10.11.0",
|
||||
"@sentry/nextjs": "^10.26.0",
|
||||
"@swc/plugin-formatjs": "^3.2.2",
|
||||
"@t3-oss/env-nextjs": "^0.13.4",
|
||||
"@tanstack/react-query": "^5.75.5",
|
||||
|
||||
Reference in New Issue
Block a user