Skip to content

alettieri/newrelic-angular

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

newrelic-angular

Build Status npm version Bower version

A module to make reporting with New Relic Browser Insights easier for Angular!

Features

  • Report errors to New Relic with $log! $log.error('something really bad happened!');
  • Reports unhandled exceptions to New Relic (thanks to $errorHander)
  • Virtual page views (via angulartics)

How to

Get it from bower

bower install --save newrelic-angular

Include the module in your application

angular.module('myApp', ['newrelic-angular']);

And add newrelic-angular.min.js to your project.

Why?

For the sake of reporting! Also, angular's exception handler catches unhandled exceptions and delegates them to $log.error. That's a problem for New Relic because they are also catching unhandled exceptions and thanks to Angular, there aren't any true unhandled exceptions!

License

MIT

About

New Relic Browser Insights for Angular.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%