Need private packages and team management tools?Check out npm Teams »

moleculer-sentry

0.0.9 • Public • Published

moleculer-sentry

Build Status Coverage Status Codacy Badge Maintainability David Known Vulnerabilities

Downloads FOSSA Status

How to use it

const SentryMixin = require('moleculer-sentry')
 
module.exports = {
  mixins: [SentryMixin],
  settings: {
    /** @type {String} DSN given by sentry. */
    dsn: null,
    /** @type {Object?} Additional options for `Sentry.init` */
    options: {},
    /** @type {Object?} Options for the sentry scope */
    scope: {
      /** @type {String?} Name of the meta containing user infos */
      user: null
    }
  }
}

Install

npm i moleculer-sentry

DownloadsWeekly Downloads

597

Version

0.0.9

License

MIT

Unpacked Size

7.24 kB

Total Files

5

Last publish

Collaborators

  • avatar