Updated 14. Using Application Insights in eShopOnContainers (markdown)

RamonTC 2017-11-30 10:27:10 +01:00
parent eb75fb52cb
commit 9728c29923

@ -14,7 +14,7 @@ In case of using App Insights for logging eShopOnContainers in a cluster environ
Retrive the Instrumentation Key generated to be used later on. Go to properties in the portal and copy the key. Retrive the Instrumentation Key generated to be used later on. Go to properties in the portal and copy the key.
### Setting up Application Insights locally ### Setting up Application Insights locally
Open the **.env** file where all the environment variables are set, uncomment the **INSTRUMENTATION_KEY** variable and set the Instrumentation Key from your App Insights service that has previously been created: Go to the root of the project and open the **.env** file where all the environment variables are set, uncomment the **INSTRUMENTATION_KEY** variable and set the Instrumentation Key from your App Insights service that has previously been created:
``` ```
#ESHOP_AZURE_REDIS_BASKET_DB=<YourAzureRedisBasketInfo> #ESHOP_AZURE_REDIS_BASKET_DB=<YourAzureRedisBasketInfo>
@ -33,7 +33,7 @@ Open the **.env** file where all the environment variables are set, uncomment th
#ESHOP_AZURE_STORAGE_MARKETING_KEY=<YourAzureStorageMarketingKey> #ESHOP_AZURE_STORAGE_MARKETING_KEY=<YourAzureStorageMarketingKey>
#ESHOP_SERVICE_BUS_USERNAME=<ServiceBusUserName-OnlyUsedIfUsingRabbitMQUnderwindows> #ESHOP_SERVICE_BUS_USERNAME=<ServiceBusUserName-OnlyUsedIfUsingRabbitMQUnderwindows>
#ESHOP_SERVICE_BUS_PASSWORD=<ServiceBusUserPassword-OnlyUsedIfUsingRabbitMQUnderwindows> #ESHOP_SERVICE_BUS_PASSWORD=<ServiceBusUserPassword-OnlyUsedIfUsingRabbitMQUnderwindows>
**INSTRUMENTATION_KEY=** INSTRUMENTATION_KEY=
#USE_LOADTEST=<True/False> #USE_LOADTEST=<True/False>
``` ```
@ -65,5 +65,5 @@ Open the **.env** file where all the environment variables are set, uncomment th
keystore: keystore-data keystore: keystore-data
GracePeriodManager_GracePeriodTime: "1" GracePeriodManager_GracePeriodTime: "1"
GracePeriodManager_CheckUpdateTime: "15000" GracePeriodManager_CheckUpdateTime: "15000"
**Instrumentation_Key: ""** Instrumentation_Key: ""
``` ```