Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 1.02 KB

application-insights.md

File metadata and controls

13 lines (8 loc) · 1.02 KB

Application Insights

App insights is the platform we are using for measuring telemetry. By default app insights is on in dev and test environments and off when running locally or building in a pipeline.

App insights can be enabled locally by including the conncection string in your secrets file. The format should be "APPLICATIONINSIGHTS_CONNECTION_STRING": "<Connection String here>" You can copy the connection string from Azure. Go the the app insights instance (Current instance name is s184d01-fiat-insights) and on the overview panel you can copy the connection string. Always use the development environment when testing locally.

Tracking events

We are tracking page views and requests automatically. If you would like to track your own events then us the TrackEvent method. You can track events in the client using javascript or on the server using the app insights module.

More info about app insights can be found on learn.microsoft.com