Skip to content

Commit

Permalink
Add profile sampling for Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
sneakycrow committed Oct 5, 2024
1 parent 750f9c1 commit 70de677
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hooks.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import * as Sentry from "@sentry/sveltekit";

Sentry.init({
dsn: "https://0e272c5b37f4fc8bedc85ee8716183f1@o4506240903806976.ingest.sentry.io/4506240904003584",
tracesSampleRate: 1,
tracesSampleRate: 1.0,
profilesSampleRate: 1.0,
environment: import.meta.env.MODE ?? "development"
});

Expand Down

0 comments on commit 70de677

Please sign in to comment.