Skip to content

💡 Enable Canvas Content Recording in Session Replays #3614

@Alex-Wauters

Description

@Alex-Wauters

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions