diff --git a/packages/code-du-travail-frontend/sentry.client.config.js b/packages/code-du-travail-frontend/sentry.client.config.js index a38eb788a9..5f576ca302 100644 --- a/packages/code-du-travail-frontend/sentry.client.config.js +++ b/packages/code-du-travail-frontend/sentry.client.config.js @@ -3,17 +3,12 @@ // https://docs.sentry.io/platforms/javascript/guides/nextjs/ import * as Sentry from "@sentry/nextjs"; -import { Replay } from "@sentry/browser"; Sentry.init({ dsn: process.env.NEXT_PUBLIC_SENTRY_DSN || process.env.SENTRY_PUBLIC_DSN || "", environment: process.env.NEXT_PUBLIC_SENTRY_ENV || process.env.SENTRY_ENV || "dev", - tracesSampleRate: 1.0, + tracesSampleRate: 0.2, release: process.env.NEXT_PUBLIC_SENTRY_RELEASE || process.env.SENTRY_RELEASE, - - replaysSessionSampleRate: 0.01, - replaysOnErrorSampleRate: 1.0, - integrations: [new Replay()], }); diff --git a/packages/code-du-travail-frontend/sentry.edge.config.js b/packages/code-du-travail-frontend/sentry.edge.config.js index bc39d53b70..a9d692daf8 100644 --- a/packages/code-du-travail-frontend/sentry.edge.config.js +++ b/packages/code-du-travail-frontend/sentry.edge.config.js @@ -9,6 +9,6 @@ Sentry.init({ process.env.NEXT_PUBLIC_SENTRY_DSN || process.env.SENTRY_PUBLIC_DSN || "", environment: process.env.NEXT_PUBLIC_SENTRY_ENV || process.env.SENTRY_ENV || "dev", - tracesSampleRate: 1.0, + tracesSampleRate: 0.2, release: process.env.NEXT_PUBLIC_SENTRY_RELEASE || process.env.SENTRY_RELEASE, }); diff --git a/packages/code-du-travail-frontend/sentry.server.config.js b/packages/code-du-travail-frontend/sentry.server.config.js index bc39d53b70..a9d692daf8 100644 --- a/packages/code-du-travail-frontend/sentry.server.config.js +++ b/packages/code-du-travail-frontend/sentry.server.config.js @@ -9,6 +9,6 @@ Sentry.init({ process.env.NEXT_PUBLIC_SENTRY_DSN || process.env.SENTRY_PUBLIC_DSN || "", environment: process.env.NEXT_PUBLIC_SENTRY_ENV || process.env.SENTRY_ENV || "dev", - tracesSampleRate: 1.0, + tracesSampleRate: 0.2, release: process.env.NEXT_PUBLIC_SENTRY_RELEASE || process.env.SENTRY_RELEASE, }); diff --git a/packages/code-du-travail-frontend/src/data/services-de-renseignement.json b/packages/code-du-travail-frontend/src/data/services-de-renseignement.json index e3465326ed..080b6ae13b 100644 --- a/packages/code-du-travail-frontend/src/data/services-de-renseignement.json +++ b/packages/code-du-travail-frontend/src/data/services-de-renseignement.json @@ -397,7 +397,7 @@ }, "974": { "name": "LA REUNION", - "url": "https://reunion.deets.gouv.fr/Nous-contacter,8384" + "url": "https://reunion.deets.gouv.fr/Nous-contacter" }, "976": { "name": "MAYOTTE",