Skip to content

Conversation

Blinkuu
Copy link

@Blinkuu Blinkuu commented Jul 14, 2025

Why

Session recording is a powerful tool for understanding user behavior and debugging issues in web applications. By capturing user interactions, developers can replay sessions to see exactly what users experienced, making it easier to identify and fix bugs, optimize user experience, and understand user flows.

What

Added a new experimental session recording instrumentation package (@grafana/faro-instrumentation-session-recording) that integrates rrweb with the Faro Web SDK. The implementation includes:

  • New experimental package under experimental/instrumentation-session-recording/
  • Session recording instrumentation that captures DOM mutations, user interactions, and page changes using rrweb
  • Comprehensive configuration options including masking, element blocking, and custom selectors for sensitive data protection
  • Custom hooks for filtering and transforming events before sending

The feature is designed as an experimental package to allow for testing and feedback before potential inclusion in the main web SDK.

Links

N/A

Checklist

  • Tests added
  • Changelog updated
  • Documentation updated

@Blinkuu Blinkuu self-assigned this Jul 14, 2025
@CLAassistant
Copy link

CLAassistant commented Jul 14, 2025

CLA assistant check
All committers have signed the CLA.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@Blinkuu Blinkuu changed the title WIP: feat(web-session-recording): support session recording with rrweb feat(web-session-recording): add experimental session recording support Jul 23, 2025
@Blinkuu Blinkuu changed the title feat(web-session-recording): add experimental session recording support feat(instrumentation-session-recording): add experimental session recording support Jul 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants