You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
900 B

  1. # Deploying Azure Application Insights
  2. The ARM template `applicationinsights.json` and its parameter file (`applicationinsights.parameters.json`) are used to deploy Azure Application Insights
  3. ## Deploy the template
  4. Once parameter file is edited you can deploy it using [create-resources script](../readme.md).
  5. i. e. if you are in Windows, to deploy the Azure Azure Application Insights in a new resourcegroup located in westus, go to `deploy\az` folder and type:
  6. ```
  7. create-resources.cmd applicationinsights\applicationinsights newResourceGroup -c westus
  8. ```
  9. ## Setting Azure Application Insights InstrumentationKey in for projects
  10. Cope from Azure portal InstrumentationKey and add it in containers configuration.
  11. For Kubernates - it can be done in k8s\conf_cloud.yml file as a value for Instrumentation_Key key.
  12. For local docker environment remove # from INSTRUMENTATION_KEY key in .env file.