-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
51 additions
and
48 deletions.
There are no files selected for viewing
File renamed without changes.
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
import * as Sentry from "@sentry/astro"; | ||
|
||
Sentry.init({ | ||
dsn: process.env.SENTRY_DSN ?? "", | ||
integrations: [new Sentry.BrowserTracing(), new Sentry.Replay()], | ||
attachStacktrace: true, | ||
sampleRate: 1.0, | ||
tracesSampleRate: 0.2, | ||
tracePropagationTargets: ["localhost", "https://pesto.teknologiumum.com"], | ||
// Capture Replay for 10% of all sessions, | ||
// plus for 100% of sessions with an error | ||
replaysSessionSampleRate: 0.02, | ||
replaysOnErrorSampleRate: 0.5, | ||
debug: import.meta.env.DEV, | ||
dsn: process.env.SENTRY_DSN ?? "", | ||
integrations: [new Sentry.BrowserTracing(), new Sentry.Replay()], | ||
attachStacktrace: true, | ||
sampleRate: 1.0, | ||
tracesSampleRate: 0.2, | ||
tracePropagationTargets: ["localhost", "https://pesto.teknologiumum.com"], | ||
// Capture Replay for 10% of all sessions, | ||
// plus for 100% of sessions with an error | ||
replaysSessionSampleRate: 0.02, | ||
replaysOnErrorSampleRate: 0.5, | ||
debug: import.meta.env.DEV, | ||
}); |
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 |
---|---|---|
@@ -1,12 +1,10 @@ | ||
import * as Sentry from "@sentry/astro"; | ||
|
||
Sentry.init({ | ||
dsn: process.env.SENTRY_DSN ?? "", | ||
integrations: [ | ||
new Sentry.Integrations.Http({ tracing: true }) | ||
], | ||
attachStacktrace: true, | ||
sampleRate: 1.0, | ||
tracesSampleRate: 0.2, | ||
debug: import.meta.env.DEV, | ||
dsn: process.env.SENTRY_DSN ?? "", | ||
integrations: [new Sentry.Integrations.Http({ tracing: true })], | ||
attachStacktrace: true, | ||
sampleRate: 1.0, | ||
tracesSampleRate: 0.2, | ||
debug: import.meta.env.DEV, | ||
}); |
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
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
/// <reference types="astro/client" /> | ||
|
||
interface ImportMetaEnv { | ||
readonly SENTRY_DSN?: string; | ||
readonly SENTRY_DSN?: string; | ||
} | ||
|
||
interface ImportMeta { | ||
readonly env: ImportMetaEnv; | ||
} | ||
readonly env: ImportMetaEnv; | ||
} |
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
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