Skip to content

Commit 047be56

Browse files
authored
fix: update dsn placeholders (#11226)
1 parent f646d08 commit 047be56

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

docs/platforms/javascript/guides/aws-lambda/install/cjs-layer.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Make sure you completed [step 1](#1-prerequisites) and [step 2](#2-add-the-sentr
7171
const Sentry = require("@sentry/aws-serverless");
7272

7373
Sentry.init({
74-
dsn: "__PUBLIC_DSN__",
74+
dsn: "___PUBLIC_DSN___",
7575
// Add Tracing by setting tracesSampleRate and adding integration
7676
// Set tracesSampleRate to 1.0 to capture 100% of transactions
7777
// We recommend adjusting this value in production

docs/platforms/javascript/guides/aws-lambda/install/cjs-npm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const Sentry = require("@sentry/aws-serverless");
6767
const { nodeProfilingIntegration } = require("@sentry/profiling-node");
6868

6969
Sentry.init({
70-
dsn: "__PUBLIC_DSN__",
70+
dsn: "___PUBLIC_DSN___",
7171
integrations: [nodeProfilingIntegration()],
7272
// Add Tracing by setting tracesSampleRate and adding integration
7373
// Set tracesSampleRate to 1.0 to capture 100% of transactions

docs/platforms/javascript/guides/aws-lambda/install/esm-npm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ import * as Sentry from "@sentry/aws-serverless";
112112
import { nodeProfilingIntegration } from "@sentry/profiling-node";
113113

114114
Sentry.init({
115-
dsn: "__PUBLIC_DSN__",
115+
dsn: "___PUBLIC_DSN___",
116116
integrations: [nodeProfilingIntegration()],
117117
// Add Tracing by setting tracesSampleRate and adding integration
118118
// Set tracesSampleRate to 1.0 to capture 100% of transactions

docs/platforms/javascript/guides/solid/features/solid-router.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { render } from "solid-js/web";
2525
import App from "./app";
2626

2727
Sentry.init({
28-
dsn: "__PUBLIC_DSN__",
28+
dsn: "___PUBLIC_DSN___",
2929
integrations: [solidRouterBrowserTracingIntegration()],
3030
tracesSampleRate: 1.0, // Capture 100% of the transactions
3131
});

platform-includes/getting-started-config/javascript.solid.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import App from "./app";
1515
// this will only initialize your Sentry client in production builds.
1616
if (!DEV) {
1717
Sentry.init({
18-
dsn: "__PUBLIC_DSN__",
18+
dsn: "___PUBLIC_DSN___",
1919
integrations: [
2020
solidRouterBrowserTracingIntegration(),
2121
Sentry.replayIntegration(),

platform-includes/getting-started-config/javascript.solidstart.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { solidRouterBrowserTracingIntegration } from '@sentry/solidstart/solidro
99
import { mount, StartClient } from '@solidjs/start/client';
1010

1111
Sentry.init({
12-
dsn: '__PUBLIC_DSN__',
12+
dsn: '___PUBLIC_DSN___',
1313
integrations: [solidRouterBrowserTracingIntegration()],
1414
tracesSampleRate: 1.0, // Capture 100% of the transactions
1515
});
@@ -41,7 +41,7 @@ For example by placing it in the `public` folder.
4141
import * as Sentry from '@sentry/solidstart';
4242

4343
Sentry.init({
44-
dsn: '__PUBLIC_DSN__',
44+
dsn: '___PUBLIC_DSN___',
4545
tracesSampleRate: 1.0, // Capture 100% of the transactions
4646
});
4747
```

0 commit comments

Comments
 (0)