Miss any of our Open RFC calls?Watch the recordings here! »

gatsby-plugin-rollbar

1.1.0 • Public • Published

gatsby-plugin-rollbar

Gatsby plugin to add Rollbar error tracking to your site.

Learn more about Rollbar here.

Install

npm install --save gatsby-plugin-rollbar

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: "gatsby-plugin-rollbar",
    options: {
      accessToken: "YOUR_ROLLBAR_ACCESS_TOKEN",
      // For all configuration options, see https://docs.rollbar.com/docs/rollbarjs-configuration-reference
      captureUncaught: true,
      captureUnhandledRejections: true,
      payload: {
        environment: "production"
      }
    }
  }
];

Install

npm i gatsby-plugin-rollbar

DownloadsWeekly Downloads

1,684

Version

1.1.0

License

MIT

Unpacked Size

9.83 kB

Total Files

5

Last publish

Collaborators

  • avatar