ember-metrics-raygun
v0.1.1
Published
Raygun adapter for ember-metrics
Downloads
4
Maintainers
Readme
ember-metrics-raygun
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 fromwindow.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.