Skip to content

Monitoring a minimal Angular App with the Application Insights Web SDK

License

Notifications You must be signed in to change notification settings

dmnk/application-insights-angular-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

application-insights-angular-demo

Monitoring a minimal Angular App with the Application Insights Web SDK

based on a minimal angular 8 bootstrap

npm install -g @angular/cli
ng new insights
cd insights
ng update @angular/cli @angular/core
ng update
ng update rxjs
npm audit fix --force
npm i @microsoft/applicationinsights-web
ng g service services/common/ApplicationInsights

after that modify the ApplicationInsights.service, app.module.ts as described in Julien Dubois - Using Azure Application Insights with Angular (5/7) and additionally show the changes required in app.component.ts so that the service is actually used.

As bonus: different instrumentationKeys for different environments.

About

Monitoring a minimal Angular App with the Application Insights Web SDK

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published