mirror of
https://github.com/Since-3/Kuma.git
synced 2026-10-12 20:51:18 +00:00
22 lines
855 B
TypeScript
22 lines
855 B
TypeScript
// This file configures the initialization of Sentry on the server.
|
|
// The config you add here will be used whenever the server handles a request.
|
|
// https://docs.sentry.io/platforms/javascript/guides/nextjs/
|
|
|
|
import * as Sentry from "@sentry/nextjs";
|
|
|
|
Sentry.init({
|
|
dsn: "https://e8bb1cf7421d4fd387d1235b742ea68f@o4511852428525568.ingest.de.sentry.io/4511852431802448",
|
|
|
|
// Define how likely traces are sampled. Adjust this value in production, or use tracesSampler for greater control.
|
|
tracesSampleRate: 1,
|
|
|
|
// Enable logs to be sent to Sentry
|
|
enableLogs: true,
|
|
|
|
dataCollection: {
|
|
// To disable sending user data and HTTP bodies, uncomment the lines below. For more info visit:
|
|
// https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/options/#dataCollection
|
|
// userInfo: false,
|
|
// httpBodies: [],
|
|
},
|
|
});
|