Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(replay): Add documentation about replay event types #1197

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

billyvg
Copy link
Member

@billyvg billyvg commented Mar 19, 2024

Copy link

vercel bot commented Mar 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
develop ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 25, 2024 6:28pm

@bruno-garcia
Copy link
Member

cc @vaind


**Additional Item Headers:**

*None*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe length is required.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not for replay_event though right? only replay_recording which is below

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Each envelope item needs a length header because a new line character could be present in the item's payload.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm we currently do not send a length header for js sdk

| segment_id | number | The segment id. |
| replay_start_timestamp | number | UNIX timestamp of the start of the replay (in seconds). This is only required on the first segment. |
| urls | list[string] | List of URLs in order of visitation. |
| error_ids | list[string] | List of error event ids that occurred during the replay. |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be marked as deprecated now that we use event linking on the back end.

src/docs/sdk/replays.mdx Outdated Show resolved Hide resolved
Co-authored-by: Ivan Dlugos <6349682+vaind@users.noreply.github.com>
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.

None yet

4 participants