-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Session Replay for Remix SDK not populating anything #9078
Comments
Do you see any logs with |
Yes the logs are there in debug mode |
@sergical Do you have a link to your Sentry org? Maybe we are dropping something in our backend. |
https://sea-people.sentry.io/ this one? |
To clarify the debug logs, can you copy debug logs from when an error occurs? |
So generally speaking, replay considers an "error" for error sampling whenever a Sentry exception is caught. So we'd only capture the replay if an error is sent to Sentry. I guess this is not actually sending an error to Sentry? If so, this is the root cause here - the errors are actually not properly instrumented/captured. Or the error is captured on the backend, which does not have replay, of course. So can you double check:
|
Is there an example I can take a look at in the context of Remix where a Session replay instrumentation behaves as expected on route changes where a new route is an error route. Or is the thinking that a server rendered error route should pass along a sentry error on client render as well to catch it? I understand that if a user performs an action on the client that results in a sentry error, the session replay will pick it up, however, route changes would also be super helpful to handle 😓 |
I just did
Hopefully that works, will report back! |
This seems like Could it be that this is called somewhere in server side code? There replay would not be available. |
Should I do it inside the |
Yup |
Separate question but while I have you here ❤️
What is the |
We attach the |
So turns out Vercel does something weird when it builds Remix projects. Typically, it builds a 404 page as a Serverless function. But as soon as you have anything within your app that's set up with I will close this out for now and see what I get from the Vercel side of things. Thanks again for all your support, learned a lot here! ❤️ |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/remix
SDK Version
7.64
Framework Version
18.2
Link to Sentry event
No response
SDK Setup
Steps to Reproduce
Expected Result
Session replay showing up when an error is hit
Actual Result
Session replay page is in an empty state
The text was updated successfully, but these errors were encountered: