website: add sentry

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-07-19 21:50:56 +02:00
parent de4710ea71
commit 983747b13b
4 changed files with 290 additions and 0 deletions

8
website/src/sentry.jsx Normal file
View File

@ -0,0 +1,8 @@
import * as Sentry from "@sentry/react";
import { Integrations } from "@sentry/tracing";
Sentry.init({
dsn: "https://339d36db58e6476aa0430aaff4e0610c@sentry.beryju.org/9",
integrations: [new Integrations.BrowserTracing()],
tracesSampleRate: 0.6,
});