Heimdallr
Performance monitoring for Angular applications.
By default Heimdallr tracks useful information and submits data every 10s:
- Angular app information (Version number and such)
- WatcherCount
- ui.router state changes
- Custom events
Compatibility
- Angular 1.4+ (tested on 1.4.7 & 1.4.8)
- Routers: ui.router
Setup
Add Module to your application.
var myApp = angular;
Heimdallr needs to hook into http requests in order to provide accurate timings for http requests.
myApp;
Starting the Heimdallr service requires that you put in a URL as the destination for your performance metrics. Any number of custom attributes can be set on the customProperties
object.
myApp;
Custom events are easily added.
{ HeimdallrService;}
Add a second event.
{ HeimdallrService;}
Calculate the measurement: (title, start, end, remove after submit). After measurement is calculated data will be submitted immediately.
HeimdallrService;
Troubleshooting
Enabling debug will enable console error messages.
myApp;