newrelic-angular

WebJar for newrelic-angular

Лицензия

Лицензия

MIT
Категории

Категории

Angular Взаимодействие с пользователем Веб-фреймворки
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

newrelic-angular
Последняя версия

Последняя версия

0.2.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

newrelic-angular
WebJar for newrelic-angular
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/prestonvanloon/newrelic-angular

Скачать newrelic-angular

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/newrelic-angular/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>newrelic-angular</artifactId>
    <version>0.2.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/newrelic-angular/
implementation 'org.webjars.npm:newrelic-angular:0.2.2'
// https://jarcasting.com/artifacts/org.webjars.npm/newrelic-angular/
implementation ("org.webjars.npm:newrelic-angular:0.2.2")
'org.webjars.npm:newrelic-angular:jar:0.2.2'
<dependency org="org.webjars.npm" name="newrelic-angular" rev="0.2.2">
  <artifact name="newrelic-angular" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='newrelic-angular', version='0.2.2')
)
libraryDependencies += "org.webjars.npm" % "newrelic-angular" % "0.2.2"
[org.webjars.npm/newrelic-angular "0.2.2"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.webjars.npm : angulartics jar [1.0.0,1.1)
org.webjars.npm : angulartics-newrelic-insights jar [0.1.0,0.2)

Модули Проекта

Данный проект не имеет модулей.

newrelic-angular

Build Status npm version Bower version Coverage Status

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 npm

npm install --save newrelic-angular

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.

(Optional) Ignore certain statuses

angular.module('myApp', ['newrelic-angular'])
  .config(function(httpInterceptorProvider) {
   httpInterceptorProvider.setStatusesToIgnore([-1, 418]);
  });

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

Версии библиотеки

Версия
0.2.2