Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

gatsby-plugin-sentry

Gatsby plugin to add Sentry error tracking to your site.

Install

npm install --save @loicmahieu/gatsby-plugin-sentry

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: "@loicmahieu/gatsby-plugin-sentry",
    options: {
      dsn: "YOUR_SENTRY_DSN_URL",
      // Any sentry client settings, see https://docs.sentry.io/clients/node/config/#optional-settings
    }
  }
];
© 2023 Gatsby, Inc.