gatsby-plugin-sentry icon indicating copy to clipboard operation
gatsby-plugin-sentry copied to clipboard

LogRocket integration?

Open bogdancss opened this issue 5 years ago • 2 comments

How can I integrate this with LogRocket?

On the docs, they recommend the following (but not sure how to use this with the gatsby plugin):

To set up Sentry, add this code to your app. Every crash report will have a LogRocket session URL.

Sentry.configureScope(scope => {
  scope.addEventProcessor(async (event) => {
    event.extra.sessionURL = LogRocket.sessionURL;
    return event;
  });
});

bogdancss avatar Mar 21 '19 11:03 bogdancss

iam too lost with doc logrocket @bogdancss how u implement logrocket on gatsby

selique avatar Jun 16 '20 13:06 selique

its correct assume this implementation @bogdancss https://github.com/DamianMullins/damianmullins.com/blob/5633fd86bd6092bfc9ecad9270990b823b968610/src/components/Layout.js

selique avatar Jun 16 '20 13:06 selique