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
…distributed tracing (#13221)
Works by adding the Sentry middlware to your `src/middleware.ts` file:
```typescript
import { sentryBeforeResponseMiddleware } from '@sentry/solidstart/middleware';
import { createMiddleware } from '@solidjs/start/middleware';
export default createMiddleware({
onBeforeResponse: [
sentryBeforeResponseMiddleware(),
// Add your other middleware handlers after `sentryBeforeResponseMiddleware`
],
});
```
And specifying `./src/middleware.ts` in `app.config.ts`
Closes: #12551
Co-authored-by: Lukas Stracke <lukas.stracke@sentry.io>
No description provided.
The text was updated successfully, but these errors were encountered: