File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed
docs/platforms/javascript/guides
platform-includes/getting-started-config Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ Make sure you completed [step 1](#1-prerequisites) and [step 2](#2-add-the-sentr
71
71
const Sentry = require (" @sentry/aws-serverless" );
72
72
73
73
Sentry .init ({
74
- dsn: " __PUBLIC_DSN__ " ,
74
+ dsn: " ___PUBLIC_DSN___ " ,
75
75
// Add Tracing by setting tracesSampleRate and adding integration
76
76
// Set tracesSampleRate to 1.0 to capture 100% of transactions
77
77
// We recommend adjusting this value in production
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ const Sentry = require("@sentry/aws-serverless");
67
67
const { nodeProfilingIntegration } = require (" @sentry/profiling-node" );
68
68
69
69
Sentry .init ({
70
- dsn: " __PUBLIC_DSN__ " ,
70
+ dsn: " ___PUBLIC_DSN___ " ,
71
71
integrations: [nodeProfilingIntegration ()],
72
72
// Add Tracing by setting tracesSampleRate and adding integration
73
73
// Set tracesSampleRate to 1.0 to capture 100% of transactions
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ import * as Sentry from "@sentry/aws-serverless";
112
112
import { nodeProfilingIntegration } from " @sentry/profiling-node" ;
113
113
114
114
Sentry .init ({
115
- dsn: " __PUBLIC_DSN__ " ,
115
+ dsn: " ___PUBLIC_DSN___ " ,
116
116
integrations: [nodeProfilingIntegration ()],
117
117
// Add Tracing by setting tracesSampleRate and adding integration
118
118
// Set tracesSampleRate to 1.0 to capture 100% of transactions
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import { render } from "solid-js/web";
25
25
import App from " ./app" ;
26
26
27
27
Sentry .init ({
28
- dsn: " __PUBLIC_DSN__ " ,
28
+ dsn: " ___PUBLIC_DSN___ " ,
29
29
integrations: [solidRouterBrowserTracingIntegration ()],
30
30
tracesSampleRate: 1.0 , // Capture 100% of the transactions
31
31
});
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import App from "./app";
15
15
// this will only initialize your Sentry client in production builds.
16
16
if (! DEV ) {
17
17
Sentry .init ({
18
- dsn: " __PUBLIC_DSN__ " ,
18
+ dsn: " ___PUBLIC_DSN___ " ,
19
19
integrations: [
20
20
solidRouterBrowserTracingIntegration (),
21
21
Sentry .replayIntegration (),
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { solidRouterBrowserTracingIntegration } from '@sentry/solidstart/solidro
9
9
import { mount , StartClient } from ' @solidjs/start/client' ;
10
10
11
11
Sentry .init ({
12
- dsn: ' __PUBLIC_DSN__ ' ,
12
+ dsn: ' ___PUBLIC_DSN___ ' ,
13
13
integrations: [solidRouterBrowserTracingIntegration ()],
14
14
tracesSampleRate: 1.0 , // Capture 100% of the transactions
15
15
});
@@ -41,7 +41,7 @@ For example by placing it in the `public` folder.
41
41
import * as Sentry from ' @sentry/solidstart' ;
42
42
43
43
Sentry .init ({
44
- dsn: ' __PUBLIC_DSN__ ' ,
44
+ dsn: ' ___PUBLIC_DSN___ ' ,
45
45
tracesSampleRate: 1.0 , // Capture 100% of the transactions
46
46
});
47
47
```
You can’t perform that action at this time.
0 commit comments