Added Azure ApplicationInsights SDK, collecting default telemetry.
Saving the user's choice whether to allow telemetry.
Introducing environment JSONs.
Type of change
Please delete options that are not relevant.
[x] New feature (non-breaking change which adds functionality)
How to Test
Open an Application Insights service on Azure.
Add its Instrumentation Key to environment.dev.json or environment.test.json as "insightsKey".
Test the app regularly (ng add and ng deploy). Check whether the http requests were recorded in the App Insights.
Make sure it's recorded when not using the telemetry flag, or when using it with true, and not when using it with false. The choice of telemetry should be added to angular.json under the deploy section.
Pull Request - App Insights
Description
Added Azure ApplicationInsights SDK, collecting default telemetry. Saving the user's choice whether to allow telemetry. Introducing environment JSONs.
Type of change
Please delete options that are not relevant.
How to Test
Open an Application Insights service on Azure. Add its Instrumentation Key to
environment.dev.json
orenvironment.test.json
as"insightsKey"
. Test the app regularly (ng add
andng deploy
). Check whether the http requests were recorded in the App Insights. Make sure it's recorded when not using the telemetry flag, or when using it withtrue
, and not when using it withfalse
. The choice of telemetry should be added toangular.json
under thedeploy
section.Closing issues
Closes #32