Skip to content

Change start() API #7744

@billyvg

Description

@billyvg

Current Status

start() currently creates a new session if it doesn’t exist and does nothing if session was not sampled. Users expect calling this method would override session sampling logic and being recording as if it were sampled for session-based replay.

Proposal

  • Does nothing if current session is already sampled for session-based replay
  • Starts a session-based replay (session will be sampled)
  • Accepts an argument to start a "buffered" replay (i.e. what we do for error-based replays)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions