-
Notifications
You must be signed in to change notification settings - Fork 164
Description
Please contact support to open a feature request.
Current Issue:
Session replays currently show blank canvas elements due to security restrictions that prevent canvas code rendering. This significantly limits the debugging value of session replays for applications that rely heavily on canvas elements for displaying images and interactive overlays.
Proposed Solution:
Enable canvas content capture by exposing rrweb's existing canvas recording functionality through ddrum configuration. rrweb (the underlying library for Datadog session replays) already supports canvas image snapshots via the following configuration:
recordCanvas: true,
sampling: {
canvas: 15,
},
https://github.com/rrweb-io/rrweb/blob/master/docs/recipes/canvas.md
Expected Outcome:
- Add a configurable setting in ddrum to enable canvas recording
- Display captured canvas snapshots within Datadog session replays
- Provide developers with complete visual context for debugging canvas-based interactions
Showing content from canvas elements would make session replays immensely more useful to us.