Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

Latest commit

 

History

History
29 lines (19 loc) · 799 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 799 Bytes

angular-ra-newrelic.js

The ra.newrelic module is a wrapper around newrelic-timing. It waits for the custom ra.pageload 'pageload:ready' event before firing the newRelic 'pageRendered' mark to give a better representation of page load times.

Installing

Install with bower:

bower install angular-ra-newrelic --save

Usage

Include the following js files:

bower_components/newrelic-timing/newrelic-timing.js
bower_components/angular-ra-pageload/angular-ra-pageload.min.js
bower_components/angular-ra-newrelic/angular-ra-newrelic.min.js

Add ra.newrelic dependency to your application.

angular.module('application', ['ra.newrelic']);