-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Sessions randomly dropping - cannot debug why? #71816
Comments
Assigning to @getsentry/support for routing ⏲️ |
Routing to @getsentry/product-owners-performance for triage ⏲️ |
Where are you seeing this? In the Sentry stats UI? @splundge - I recommend reaching out to support @ sentry.io (remove spaces). They can help take a look at your account/projects and debug more in detail. |
Nothing strikes out from looking at our commits (https://github.com/getsentry/sentry/commits/master/). I think messaging support is the right call here, they can help a lot more. |
I did reach out to support and they told me to "turn on debug mode" but as you can imagine, turning on debug mode does not help at all if you can't reproduce the issue. I figured reaching out via the community forum might get a wider response. I'll reach out to support again |
@splundge I took a look in an internal dashboard that has some additional stats (there's a ticket to expose these to the stats dashboard you are accessing) and I'm seeing ~10-15% of replay events being dropped client side. Can you call the Replay integration with the following configuration?
This will capture errors thrown in the replay integration (though it will use up your quota, but I'll be sure to get your account credited). Please let me know if you see some exceptions from this and I can follow-up. Thanks! |
Hey, I've hooked up the debugging code, and deployed it to our development environment. I can confirm that in the last 12hrs since this post, there's been atleast 1 session dropped, and we can't explain why. Can you guys investigate and see anything on your side? The capture exceptions stuff should be showing up... somewhere! |
@splundge I see it showing up in the issues stream, it's not very helpful, but I did notice that you are using a very old SDK version (7.53.1), can you upgrade to the latest v7 release (7.117.0) as there have been many bug fixes since. |
thanks @billyvg . I updated the sdk to 8.9.2 in our dev environment 3 days ago. Can you see any further issues popping up on your side ? |
Routing to @getsentry/product-owners-replays for triage ⏲️ |
Could you share another screenshot of the stats page? or a link to Sentry.io so we could take a look on our end |
@splundge Unfortunately we're unable to filter stats by environment. I am seeing some "Unable to send replay" errors, but there are replays associated with them. We can take a look at the stats again when you're ready to deploy the new SDK to prod -- ping me when you do. |
@billyvg i deployed to prod roughly 21 hours ago. BUT i disabled the captureExceptions flag (to try and conserve quota). It looks like there's still around 16 dropped sessions in the last 24hrs. I might need to turn the flag back on and redeploy prod. @bruno-garcia im not sure what you mean? |
@splundge would you mind e-mailing me directly (billy at sentry.io) so that I'm not exposing any data. I'm also in the Sentry discord (billy.work) if that works better for you. |
@splundge Are you still experiencing issues? Another thing to rule out is that we do not send replays if they are less than 5 seconds as they are unlikely to be useful (and we don't want these to use up quota). If you wanted to test this you could call the replay integration w/ The errors you were receiving ( It's also possible that these users have adblock. Are there any Sentry events (e.g. errors) associated with these missing sessions? If you have the IP address of these dropped sessions, and an approximate timestamp of when they visited, I could check our load balancer logs to see if their events made it to Sentry at all. |
Hey - sorry we've been pretty busy and this issue has sunk to the bottom of our list. I need to reinvestigate from our side to see if its still an issue. I'll do some digging and get back in here next week. |
@splundge No worries, we'll be publishing 8.31.0 sometime next week too that will include getsentry/sentry-javascript#13721 which adds an |
Environment
SaaS (https://sentry.io/)
What are you trying to accomplish?
Sentry seems to be randomly dropping sessions for users - but we cannot debug/find the cause? (update: screen shot below)
I can't just 'turn on debug mode' because there's no way for me to access the affected user's browser and observe what's happening.
is there some kind of what I can debug this? Is there some kind of event handler that i can hook onto if a session fails to upload?
At least this way i could send some debug info back to our servers and inspect from there.
How are you getting stuck?
no way to debug the issue
Where in the product are you?
Issues
Link
No response
DSN
No response
Version
No response
The text was updated successfully, but these errors were encountered: