Skip to content

Latest commit

 

History

History
64 lines (48 loc) · 3.36 KB

File metadata and controls

64 lines (48 loc) · 3.36 KB

Challenge 1.8 - Monitoring with Application Insights

👉 Don't leave your teammates behind! See if anyone else needs a hand before you start a new challenge.

Overview

To bring our DevOps journey full circle we need to understand what is happening in our deployed environments. It is too late for us to find out about a problem, by the time our users are complaining about it. It is also imperative to know about not only the performance of the site, but also the impact positive or negative a feature has had on our users. Please take a moment to review the articles below to gain a better understanding of the importance of monitoring and Application Insights, one of the tools we have to make it easy in Azure.

📚 Additional Reading

Objectives

In this challenge we will look at some of the telemetry that has already been collected by our running instance and implement an outside availability test.

  1. Review the container-webapp-template.json ARM template. Find where the Application Insights node was created and note how the Web App was configured to send its logs there.

    💡 Tips and Tricks
    • Look for Microsoft.Insights/components in the ARM template. There is an applicationId that references the Web App
  2. Create a dashboard in the Azure Portal to provide a summary of the status of our site.

    💡 Tips and Tricks
    1. Application Insights Overview dashboard: Application Dashboard
    There are many different metrics you can setup to view the status of your site. Things such as requests, http return codes, or connections are valid depending on the site. To add them:
    1. Go to your app insights instance.
    2. Select "Application Dashboard" on the top left"
    3. Right click on your dashboard and select "Edit"
    4. On the right, you will see many different selections to choose a new tile. Select Metrics Chart and click Add
    5. A new tile will appear, save the dashboard
    6. Click on it to modify the metrics of that tile
    7. Set the scope to the production web app
    8. Select one of the options to reflect what the tile will represent such as number of connections
  3. Implement an outside in availability test for the homepage of your site (hint)

    💡 Tips and Tricks

Success Criteria

  1. You should understand the importance of monitoring and some of the basic features offered by Application Insights.

< Previous Challenge | Next Challenge >