Skip to content

Commit 20611b6

Browse files
Alex KrawiecAlex Krawiec
authored andcommitted
Add minor copy edits
1 parent 1793816 commit 20611b6

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

docs/product/sentry-basics/distributed-tracing/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Distributed Tracing Tutorial
33
sidebar_order: 1
4-
description: "Follow this tutorial to set up Sentry error monitoring and distributed tracing for a sample fullstack JavaScript application. By the end, you'll be able to trigger an error and a trace and see it in Sentry.io"
4+
description: "Follow this tutorial to set up Sentry error monitoring and distributed tracing for a sample fullstack JavaScript application. By the end, you'll be able to trigger an error and a trace and see it in Sentry.io"
55
---
66

77
This step-by-step tutorial walks you through setting up Sentry in both a frontend and backend sample application. After completing this tutorial you'll be able to trace the source and impact of your issues across projects and platforms. As part of this tutorial, you will:
@@ -10,7 +10,7 @@ This step-by-step tutorial walks you through setting up Sentry in both a fronten
1010
- Trigger a sample front-end error that in turn triggers a sample back-end error.
1111
- Go to the [Traces](https://sentry.io/orgredirect/organizations/:orgslug/traces/) page in Sentry and see a detailed view of your entire trace.
1212

13-
This tutorial uses a [sample React application](https://github.com/getsentry/tracing-tutorial-frontend) on the frontend as well as a sample [Node/Express API](https://github.com/getsentry/tracing-tutorial-frontend) on the backend. Some familiarity with JavaScript will help you follow along. If you'd prefer, you can also apply the same steps to your own project, assuming you're running React on the frontend and Node/Express on the backend.
13+
This tutorial uses a [sample React application](https://github.com/getsentry/tracing-tutorial-frontend) on the frontend as well as a sample [Node/Express API](https://github.com/getsentry/tracing-tutorial-backend) on the backend. Some familiarity with JavaScript will help you follow along. If you'd prefer, you can also apply the same steps to your own project, assuming you're running React on the frontend and Node/Express on the backend.
1414

1515
## Prerequisites
1616

docs/product/sentry-basics/distributed-tracing/initialize-sentry-sdk-backend.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ Sentry captures data by using a platform-specific SDK that you add to your appli
7676

7777
1. Add your DSN key to the Sentry SDK configuration.
7878

79-
Paste in the DSN key value you copied from the project created in the [previous section](/product/sentry-basics/distributed-tracing/create-new-project/).
80-
{/* TODO: Update link here */}
79+
Paste in the DSN key value you copied from the project created in the [previous section](/product/sentry-basics/distributed-tracing/create-new-project/). NOTE: This DSN key should be **different** from the one you used configuring Sentry on your frontend project. Your frontend and backend projects should each have a unique DSN.
8180

8281
```javascript {filename:instrument.js}
8382
Sentry.init({

docs/product/sentry-basics/distributed-tracing/initialize-sentry-sdk-frontend.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@ In the `tracing-tutorial-frontend` project folder:
118118
119119
1. Open the sample application in your browser.
120120

121-
The sample app should be running at [http://localhost:3000/](http://localhost:3000/) or the URL output in your terminal in the last step. You should see a sample e-commerce page; the buttons on this page won't work correctly until you get your backend up and running.
121+
The sample app should be running at [http://localhost:3000/](http://localhost:3000/) or the URL output in your terminal in the last step. You should see a sample e-commerce page; the buttons on this page won't work correctly and will trigger an uncaught runntime error until you get your backend up and running.
122+
123+
{/* ADD SCREENSHOT HERE */}
122124

123125

124126
## Next

docs/product/sentry-basics/distributed-tracing/outline.mdx

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)