Featured resource
Forrester Wave Report 2025
Pluralsight named a Leader in the Forrester Wave™

Our tech skill development platform earned the highest scores possible across 11 criteria.

Learn more
  • Labs icon Lab
  • Cloud
Azure icon
Labs

Configure Application Insights with Azure

Application Insights can assist you in determining the availability and performance of your web applications. In this lab, you deploy Application Insights into the Azure lab environment and use it to run a URL ping test against the sample web app.

Azure icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 1h 15m
Published
Clock icon Oct 25, 2019

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Verify the Existence of Azure Resources

    Log in to the Azure portal with the provided credentials. You should land in the resource group deployed as a part of the lab environment. Familiarize yourself with the resources already provisioned for you:

    • An Azure web application service plan
    • An Azure web app
    • A Log Analytics workspace

    If you do not land in the resource group, click on All Resources in the navigation hub menu to view the provisioned resources.

  2. Challenge

    Configure Application Insights for the Azure Web App

    1. In the Azure web app, enable Application Insights with a basic collection level under the .NET tab of Instrument your application.

      Note: When enabling Application Insights, use the Log Analytics workspace that was provisioned as a part of the lab environment; do not create a new one.

    2. Verify that Application Insights is enabled.
  3. Challenge

    Create and Configure the URL Ping Test

    1. Inside of Application Insights, choose Availability under Investigate to create a new URL ping test using the URL of the Azure web app.
    2. Modify the default alert rule for the ping test, creating a new action group with a notification to your email when the ping test fails (A failure is triggered when at least two errors are detected).
    3. Check your email to verify that the notification has been set up.
  4. Challenge

    Cause an App Service Failure

    1. Stop the Azure web app to create a failure in the URL ping test.
    2. You can monitor for the failure by selecting the ping test; it may take several minutes, so you should refresh until at least two regions show as failed.
    3. Verify that you have received an email message detailing the failure.

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.