flagon icon indicating copy to clipboard operation
flagon copied to clipboard

Feature(session replay): add ability to visually reconstruct user sessions

Open Jyyjy opened this issue 9 months ago • 0 comments

Copied from https://github.com/apache/flagon-useralejs/issues/445

Problem

Session replay is a common feature in instrumentation services. As a developer, it's one of the nicest ways to make sense of user behavior and understand the context in which they encountered errors.

UserALE does not support the type of logs needed for this.

Solution

Use mutation observer to emit change events, works pretty well
Needs further research (look at [rrweb](https://www.rrweb.io/) as well as [Sentry](https://github.com/getsentry/sentry-javascript/tree/master/packages/replay-internal))
    Some problems with size of initial DOM payload

Jyyjy avatar Apr 04 '25 23:04 Jyyjy