This is the official frontend JavaScript module for Opbeat.
It enables error logging for frontend applications and performance monitoring for AngularJS applications.
If you are looking for a module for your Node.js applications, please see Opbeat for Node.js on GitHub.
Load the module from our CDN before your application code:
<script src="https://d3tvtfb6518e3e.cloudfront.net/2/opbeat.min.js" data-app-id="<APPID>" data-org-id="<ORGID>"></script>
Or install using npm
npm install opbeat-js
And include it in your application:
<script src="node_modules/opbeat-js/dist/opbeat.min.js" data-app-id="<APPID>" data-org-id="<ORGID>"></script>
Note: You can use module loader/bundler of your choosing.
- Documentation overview
- Get started with Opbeat for JavaScript
- Get started with Opbeat for AngularJS
- Module API
MIT