so we set connectionString to process.env.APPINSIGHTS_CONNECT and define the environment variable in the Azure webapp environment.
By doing this, we can set the connectionString in the specific webapp instance and ensure that we only track data for that instance.
If the environment variable does not exist (e.g. in dev environments or test instances), appInsights should not be loaded.