Skip to content

Commit

Permalink
DEVPROD-12038 Remove sentry sampling (#449)
Browse files Browse the repository at this point in the history
  • Loading branch information
khelif96 authored Oct 15, 2024
1 parent 828ba35 commit 5ae8b7e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion apps/parsley/src/components/ErrorHandling/Sentry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ const initializeSentry = () => {
environment: getReleaseStage() || "development",
maxValueLength: 500,
normalizeDepth: 5,
sampleRate: 0.5,
});
} catch (e) {
console.error("Failed to initialize Sentry", e);
Expand Down
3 changes: 0 additions & 3 deletions apps/parsley/src/components/ErrorHandling/initialize.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ describe("should initialize error handlers according to release stage", () => {
environment: "production",
maxValueLength: 500,
normalizeDepth: 5,
sampleRate: 0.5,
});
});

Expand All @@ -57,7 +56,6 @@ describe("should initialize error handlers according to release stage", () => {
environment: "beta",
maxValueLength: 500,
normalizeDepth: 5,
sampleRate: 0.5,
});
});

Expand All @@ -75,7 +73,6 @@ describe("should initialize error handlers according to release stage", () => {
environment: "staging",
maxValueLength: 500,
normalizeDepth: 5,
sampleRate: 0.5,
});
});
});
Expand Down
1 change: 0 additions & 1 deletion apps/spruce/src/components/ErrorHandling/Sentry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ const initializeSentry = () => {
environment: getReleaseStage() || "development",
maxValueLength: 500,
normalizeDepth: 5,
sampleRate: 0.5,
});
} catch (e) {
console.error("Failed to initialize Sentry", e);
Expand Down
3 changes: 0 additions & 3 deletions apps/spruce/src/components/ErrorHandling/initialize.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ describe("should initialize error handlers according to release stage", () => {
environment: "production",
maxValueLength: 500,
normalizeDepth: 5,
sampleRate: 0.5,
});
});

Expand All @@ -62,7 +61,6 @@ describe("should initialize error handlers according to release stage", () => {
environment: "beta",
maxValueLength: 500,
normalizeDepth: 5,
sampleRate: 0.5,
});
});

Expand All @@ -81,7 +79,6 @@ describe("should initialize error handlers according to release stage", () => {
environment: "staging",
maxValueLength: 500,
normalizeDepth: 5,
sampleRate: 0.5,
});
});
});
Expand Down

0 comments on commit 5ae8b7e

Please sign in to comment.