Skip to content

Latest commit

 

History

History
39 lines (36 loc) · 643 Bytes

README.md

File metadata and controls

39 lines (36 loc) · 643 Bytes

good-snag

good-snag is a transform stream for sending events to Bugsnag

Usage

plugin: {
  register: 'good',
  options: {
    ops: {
      interval: 1000,
    },
    reporters: {
      bugsnag: [
        {
          module: 'good-squeeze',
          name: 'Squeeze',
          args: [
            {
              log: 'error',
              error: '*',
              request: 'error',
            },
          ],
        },
        {
          module: 'good-snag',
          args: [
            {
              apiKey: 'API_KEY_HERE',
            },
          ],
        },
      ],
    },
  },
},