1.0.1 • Published 2 years ago

strapi-plugin-rollbar v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Strapi Plugin Rollbar

A plugin for Strapi to track Strapi errors with Rollbar.

Requirements

The installation requirements are the same as Strapi itself and can be found in the documentation on the Quick Start page in the Prerequisites info card.

Supported Strapi versions

  • v4.x.x

NOTE: While this plugin may work with the older Strapi versions, they are not supported, it is always recommended to use the latest version of Strapi.

Configuration

propertytype (default)description
accessTokenstring (null)Your Rollbar POST Server Access Token (see Rollbar docs).
initobject ({})A config object that is merge in with the default new Rollbar() settings. See all available options on Rollbar's docs

Example

./config/plugins.js

module.exports = ({ env }) => ({
  // ...
  rollbar: {
    enabled: true,
    config: {
      accessToken: env('ROLLBAR_ACCESS_TOKEN'),
    },
  },
  // ...
});

Notes

Based on the official Strapi Sentry Plugin