newrelic-timing

WebJar for newrelic-timing

Лицензия

Лицензия

MIT
Группа

Группа

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

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

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

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

0.4.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

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

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

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

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

https://github.com/uken/newrelic-timing

Скачать newrelic-timing

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

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

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

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

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

NewRelic Timing

Build Status

Integrates Single Page Apps with NewRelic's Real User Monitoring

Installing

Make sure you have bower. Also see http://bower.io/

npm install -g bower

then run:

bower install newrelic-timing

For Rails, consider using bower-rails gem or https://rails-assets.org/ and add the following to your Gemfile:

source 'https://rails-assets.org'

gem "rails-assets-newrelic-timing"

AngularJS

To install add both newrelic-timing.js and newrelic-timing-angular.js scripts to your html, then add newrelic-timing to your angular module dependencies.

angular.module('your.application', [
  // other dependencies
  'newrelic-timing'
]);

Supports both ui-router and ngRoute.

Configuration

There are no configuration options in newrelic-timling. You only need to make sure that the New Relic javascript is loaded correctly (through injection or by copy-pasting the snippet). Steps explaining how to add the New Relic javascript to your website can be found on their website.

Once configured correctly, newrelic-timing will use the API exposed by New Relic to send timing information to the New Relic server. These timings will show up as APM Transactions in the New Relic Browser dashboards.

Usage

  • newrelic-timing.js exposes window.newrelicTiming that does all the work.
  • newrelic-timing-angular.js hooks newrelicTiming into angular router state changes.

Please take a look at newrelic-timing-angular.js as an example of how to integrate this into your framework.

Changelog

0.4.0 (February 11, 2014)

0.3.1 (December 18, 2013)

  • fixed a silly typo in the angular plugin that prevented it from working

0.3.0 (December 12, 2013)

  • add specs
  • fix minor bugs and internal refactorings

0.2.0 (December 12, 2013) (broken)

  • Gracefully handle NREUM not being loaded
  • newrelicTiming.sendNRBeacon() now takes optional fragment as a parameter
  • angular version uses $location.path() for fragment name

0.1.0 (November 27, 2013)

Initial Release

org.webjars.bower

Uken Games

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

Версия
0.4.0