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 @@ -31,8 +31,6 @@ Sentry captures data by using a platform-specific SDK that you add to your appli

1. Navigate to the `tracing-tutorial-backend` project folder and install the Sentry Express SDK using NPM.

{/* TODO: UPDATE NAME OF THIS REPO */}

```bash {tabTitle:npm}
npm install --save @sentry/node @sentry/profiling-node
```
Expand Down Expand Up @@ -80,8 +78,8 @@ Sentry captures data by using a platform-specific SDK that you add to your appli

The options set in `Sentry.init()` are called the SDK's configuration. The only required configuration option is the DSN. However, the SDK supports many other configuration options. Learn more in our [Configuration](/platforms/javascript/guides/react/configuration/) docs.

The configuration above enables Sentry's error monitoring feature, as well as its **Tracing** and [Session Replay](/platforms/javascript/guides/react/session-replay) features.
{/* TODO: Add link for tracing here when tracing doc is live */}
The configuration above enables Sentry's error monitoring feature, as well as its [**Tracing**](/product/tracing/) and [**Session Replay**](/platforms/javascript/guides/react/session-replay) features.


1. Import `instrument.js` at the top of your `server.js` file. Then import `Sentry` and set up the error handler after all controllers and before any other middleware:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ Sentry captures data by using a platform-specific SDK that you add to your appli

The options set in `Sentry.init()` are called the SDK's configuration. The only required configuration option is the DSN. However, the SDK supports many other configuration options. Learn more in our [Configuration](/platforms/javascript/guides/react/configuration/) docs.

The configuration above enables Sentry's error monitoring feature, as well as **tracing** and [Session Replay](/platforms/javascript/guides/react/session-replay) features. Take note of the `tracePropagationTargets` option, this is required to enable tracing on any urls your projects are running on. Since both of this tutorial's projects are running on `localhost`, we are all set.
{/* TODO: Add link for tracing here when tracing doc is live */}
The configuration above enables Sentry's error monitoring feature, as well as [**Tracing**](/product/tracing/) and [**Session Replay**](/platforms/javascript/guides/react/session-replay) features. Take note of the `tracePropagationTargets` option, this is required to enable tracing on any urls your projects are running on. Since both of this tutorial's projects are running on `localhost`, we are all set.


## 3. Build and Run the Sample Application

Expand Down
Loading