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
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.
27
-
28
-
Now you can install the Sentry Cloudflare SDK. First, install the SDK with your package manager:
29
-
30
-
```bash {tabTitle:npm}
31
-
npm install @sentry/cloudflare --save
32
-
```
33
-
34
-
```bash {tabTitle:yarn}
35
-
yarn add @sentry/cloudflare
36
-
```
37
-
38
-
```bash {tabTitle:pnpm}
39
-
pnpm add @sentry/cloudflare
40
-
```
41
-
42
-
## 3. Instrumenting Your Server
24
+
## 2. Instrumenting Your Server
43
25
44
26
Then update your `server.ts` file to use the `wrapRequestHandler` method:
45
27
@@ -80,7 +62,7 @@ export default {
80
62
};
81
63
```
82
64
83
-
## 4. Instrumenting Your Client
65
+
## 3. Instrumenting Your Client
84
66
85
67
Wrap your Remix root component using `withSentry`:
0 commit comments