From 906e0fd9b95e54531e4c81c5b8a84385317a92dc Mon Sep 17 00:00:00 2001 From: Alex Krawiec Date: Wed, 6 Nov 2024 15:07:01 -0800 Subject: [PATCH] Add links to tracing product page in tracing tutorial (#11713) * Add links to tracing product page in tracing tutorial * Fix capitalization typo --------- Co-authored-by: Alex Krawiec --- .../distributed-tracing/initialize-sentry-sdk-backend.mdx | 6 ++---- .../distributed-tracing/initialize-sentry-sdk-frontend.mdx | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/product/sentry-basics/distributed-tracing/initialize-sentry-sdk-backend.mdx b/docs/product/sentry-basics/distributed-tracing/initialize-sentry-sdk-backend.mdx index 9a877baa0676d..25b2a41d8438b 100644 --- a/docs/product/sentry-basics/distributed-tracing/initialize-sentry-sdk-backend.mdx +++ b/docs/product/sentry-basics/distributed-tracing/initialize-sentry-sdk-backend.mdx @@ -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 ``` @@ -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: diff --git a/docs/product/sentry-basics/distributed-tracing/initialize-sentry-sdk-frontend.mdx b/docs/product/sentry-basics/distributed-tracing/initialize-sentry-sdk-frontend.mdx index f2868396c85fa..8bb3a4517745a 100644 --- a/docs/product/sentry-basics/distributed-tracing/initialize-sentry-sdk-frontend.mdx +++ b/docs/product/sentry-basics/distributed-tracing/initialize-sentry-sdk-frontend.mdx @@ -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