ember-metrics-raygun

Raygun adapter for ember-metrics

Usage no npm install needed!

<script type="module">
  import emberMetricsRaygun from 'https://cdn.skypack.dev/ember-metrics-raygun';
</script>

README

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.