Skip to content
Moleculer metrics service for Sentry (https://sentry.io/)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test/unit
.codeclimate.yml
.editorconfig
.eslintrc.js
.gitignore
.npmignore
.travis.yml
LICENSE
README.md
index.js
package-lock.json
package.json

README.md

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
    }
  }
}
You can’t perform that action at this time.