-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Is it possible to truncate start of events and still watch the replay? #14
Comments
Looking at my truncated attempts I think the problem is that my event are all So maybe this would be possible if I somehow was able to incrementally restart with Seems like I could achieve something similar by just having 2-3 offset & restarting |
I think the For example, take a full snapshot after 5 incremental snapshots will give you a snapshot chain like this:
So you can replay from the latest full snapshot and drop the previous snapshots if you do not need them. |
@Yuyz0112 I think a more robust solution would be to expose someway to trigger a full snapshot event emit yourself. IMO, the most intuitive way of doing this would require changing the return of the
|
@ChuckJonas how about provides two modes? |
@ChuckJonas Added this in #36, please let me know if you like it or not:) |
fix(rrweb): fix CSS parser for AddHover
I'd like to include this library in my error capture handler for an internal sales tool.
However, users might be on this page for quite some time, so I was hoping it would be possible to implement a "circular buffer" so I could capture just the last x events from when an error is logged.
Due to platform limitations, this would be more ideal than just saving every x seconds as your example shows.
Is it possible to start a replay for any point? I've done some quick testing and it doesn't seem to work, but maybe I'm just missing something?
The text was updated successfully, but these errors were encountered: