ember-metrics-raygun

0.1.1 • Public • Published

ember-metrics-raygun Build Status

Metrics adapter for Raygun error & user tracking.

Compatibility

  • Ember.js v3.4 or above
  • Ember CLI v2.13 or above
  • Node.js v8 or above

Installation

ember install ember-metrics-raygun

Usage

// config/environment.js
let ENV = {
  metricsAdapters: [
    {
      name: 'Raygun',
      config: {
          apiKey: '*********',
          enableCrashReporting: true,
          enablePulse: true,
          options: {},
          tags: [],
          customData: {},
          filterScope: 'all',
          filterSensitiveData: [],
          version: '1.0.0'
      }
    }
  ]
};

For documentation on above options view Raygun's docs for raygun4js.

Adapter Methods

  • detach: detaches raygun instance from window.onerror

  • identify: sets user data for affected user tracking. Documentation for options.

  • trackEvent: send event data.

  • trackPage: track page view event. Documentation.

  • send: manually send an error.

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

Package Sidebar

Install

npm i ember-metrics-raygun

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

9.17 kB

Total Files

16

Last publish

Collaborators

  • billpull