cstavitsky / example-react-app-with-sentry

Example react app with Sentry integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example React App with Sentry Integration

This is an example integration of Sentry with React.

Setup

  • Clone the project
  • cd into the project directory and run npm install
  • Replace the DSN in this project with your own Sentry DSN (sign up at http://sentry.io if you don't have an account and DSN). If you're unsure what a DSN is, or where to find it, here's some info
  • From the project directory, run npm start
  • On the page that loads, click the button to trigger an error.

Error Monitoring

After triggering an error, navigate to Sentry's 'Issues' page (link in left-hand column) to see reported errors:

Screen Shot 2021-05-13 at 7 22 19 PM

Performance Monitoring

After loading the page, navigate to Sentry's 'Performance' (link in left-hand column) to see page load performance:

Screen Shot 2021-05-13 at 7 38 17 PM

About

Example react app with Sentry integration


Languages

Language:JavaScript 46.6%Language:HTML 38.4%Language:CSS 15.0%