Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import * as Sentry from "@sentry/electron/main";

Sentry.init({
dsn: "___PUBLIC_DSN___",
integrations: [new Sentry.browserWindowSessionIntegration()],
integrations: [Sentry.browserWindowSessionIntegration()],
});
```

Expand All @@ -33,7 +33,7 @@ import * as Sentry from "@sentry/electron/main";
Sentry.init({
dsn: "___PUBLIC_DSN___",
integrations: [
new Sentry.browserWindowSessionIntegration({
Sentry.browserWindowSessionIntegration({
backgroundTimeoutSeconds: 120,
}),
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import * as Sentry from "@sentry/electron/main";
Sentry.init({
dsn: "___PUBLIC_DSN___",
integrations: [
new Sentry.mainProcessSessionIntegration({ sendOnCreate: true }),
Sentry.mainProcessSessionIntegration({ sendOnCreate: true }),
],
});
```
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Sentry captures data by using a platform-specific SDK that you add to your appli

Sentry.init({
dsn: "<your_DSN_key>",
integrations: [new Sentry.browserTracingIntegration(), Sentry.replayIntegration()],
integrations: [Sentry.browserTracingIntegration(), Sentry.replayIntegration()],

// Set tracesSampleRate to 1.0 to capture 100%
// of transactions for performance monitoring.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Sentry.init({

// This enables automatic instrumentation (highly recommended), but is not
// necessary for purely manual usage
integrations: [new Sentry.browserTracingIntegration()],
integrations: [Sentry.browserTracingIntegration()],

// We recommend adjusting this value in production, or using tracesSampler
// for finer control
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import * as Sentry from "@sentry/electron/renderer";
Sentry.init({
dsn: "___PUBLIC_DSN___",

integrations: [new Sentry.browserTracingIntegration()],
integrations: [Sentry.browserTracingIntegration()],

// We recommend adjusting this value in production, or using tracesSampler
// for finer control
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Sentry.init({
dsn: "___PUBLIC_DSN___",
integrations: [
// Add browser profiling integration to the list of integrations
new Sentry.browserTracingIntegration(),
new Sentry.browserProfilingIntegration(),
Sentry.browserTracingIntegration(),
Sentry.browserProfilingIntegration(),
],

// Set tracesSampleRate to 1.0 to capture 100%
Expand Down
Loading