@bugsnag/angular-performance
TypeScript icon, indicating that this package has built-in type declarations

2.4.0 • Public • Published

@bugsnag/angular-performance

An angular integration for BugSnag performance

This integration instruments the Angular router to provide full page load and route change performance metrics.

Usage

import BugsnagPerformance from '@bugsnag/browser-performance';
import { AngularRoutingProvider, bugsnagBootstrapper } from '@bugsnag/angular-performance';

BugsnagPerformance.start({
  apiKey,
  routingProvider: new AngularRoutingProvider(),
})

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    HttpClientModule,
    AppRoutingModule
  ],
  providers: [
    bugsnagBootstrapper,
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }

/@bugsnag/angular-performance/

    Package Sidebar

    Install

    npm i @bugsnag/angular-performance

    Weekly Downloads

    9

    Version

    2.4.0

    License

    MIT

    Unpacked Size

    6.06 kB

    Total Files

    6

    Last publish

    Collaborators

    • joshedney
    • ahmed_bugsnag
    • gingerbenw
    • bullmo
    • foygl
    • djskinner
    • tomlongridge
    • imjoehaines
    • twometresteve