You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/platforms/javascript/guides/cloudflare/frameworks/remix.mdx
+4
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ description: "Learn how to add Cloudflare instrumentation to your Remix app."
5
5
6
6
If you're running your Remix app on Cloudflare Pages, you can use the Sentry Remix SDK in combination with the Sentry Cloudflare SDK to add Sentry instrumentation.
7
7
8
+
## 1. Installing Sentry Remix SDK
9
+
8
10
First, install the Sentry Remix SDK in your application. We recommend using the Sentry wizard to automatically install the SDK:
If the setup through the wizard doesn't work for you, you can also [set up the Remix SDK manually](/platforms/javascript/guides/remix/manual-setup/).
15
17
18
+
## 2. Installing Sentry Cloudflare SDK
19
+
16
20
After installing the Sentry Remix SDK, delete the newly generated `instrumentation.server.mjs` file. This instrumentation is not needed when using the Cloudflare SDK.
17
21
18
22
Now you can install the Sentry Cloudflare SDK. First, install the SDK with your package manager:
If the wizard doesn't work for you, you can also [set up the Remix SDK manually](/platforms/javascript/guides/remix/manual-setup/).
15
17
18
+
## 2. Installing Sentry Cloudflare SDK
19
+
16
20
After installing the Sentry Remix SDK, delete the newly generated `instrumentation.server.mjs` file and all newly generated code from `entry.server.tsx`. This instrumentation is not needed because you are going to use the Sentry Cloudflare SDK for server-side instrumentation.
17
21
18
22
Now you can install the Sentry Cloudflare SDK. First, install the SDK with your package manager:
0 commit comments