Skip to content

Documentation has missing Information about linking sentry errors in openReplay sessions #135

Description

@im-me

I have noticed, that the documentation is missing one line in the examples of linking Sentry issues in the openReplay Session, to show the directly in the OpenReplay video:

https://docs.openreplay.com/en/integrations/sentry/#4-attach-openreplaysessionurl-optional-yet-very-useful

 const tracker = new OpenReplay({
 projectKey: window.OPENREPLAY_PROJECT_KEY,
 
 onStart: ({ sessionToken, sessionID }) => {
  // This is to link from OpenReplay -> Sentry
  Sentry.setTag("openReplaySessionToken", sessionToken);
 
  // This is to link from Sentry -> OpenReplay (requires tracker v3.6.0+)
  Sentry.setTag(
    "openReplaySessionURL",
    tracker.getSessionURL();
    );
  },
});

Both your examples will create a link from Sentry to OpenReplay.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions