Application Insights can assist us in determining the availability and performance of our web applications. In this lab, we deploy Application Insights into our Azure Lab environment and use it to run a URL ping test against our sample web app.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Verify the existence of Azure resources
Log in to the Azure Portal with the provided credentials. Click on All Resources in the navigation hub menu and become familiar with the provisioned Azure resources. These include:
- An Azure web application service plan.
- An Azure web app.
- Configure Application Insights for the Azure Web App
Manually create a Log Analytics Workspace using your lab provided resource group and your lab provided resource group’s location.
In the Azure Web App, enable Application Ingishts with a basic collection level. Verify that Application Insights are enabled.- Create and configure the URL Ping Test
Inside of Application Insights, create a new URL ping test using the URL of the Azure Web App. Then, modify the default alert rule for the ping test, creating a new Action Group to notify you via email, first when the Action Group is created, and later when a failure is detected.
- Cause an App Service failure
Stop the Azure Web App to create a failure in the URL ping test. Verify that you have received an email message detailing the failure.