Monitoring and Troubleshooting Code on Microsoft Azure

Authors: Fabien Ruffin, Jeff Hopper, Robert Lindley, Nikola Milanovic

Ever been here before... you’re application is finished, but something isn’t working right in the code. This path will give you the ability to figure out what is happening and why.

What you will learn

  • Monitoring performance of your application
  • Instrumenting an app or service
  • Implementing application logging
  • Troubleshooting using the Azure Portal


This path is intended for beginners, and no prerequisites are required for this path.


This section will teach you how to monitor the performance of your application using App Insights. You’ll focus on diagnostics and identifying the issues that may be throwing your application off from it’s ideal performance.

Microsoft Azure Developer: Monitoring Performance

by Fabien Ruffin

Dec 12, 2018 / 1h 10m

1h 10m

Start Course

Being able to understand how the different components of your applications are behaving and being notified proactively before an issue becomes a big problem is a critical part of ensuring a good uptime. In this course, Microsoft Azure Developer: Monitoring Performance, you will learn foundational knowledge about Azure Monitor, which is at the core of Microsoft Azure. First, you will explore resource metrics in Azure Monitor. Next, you will discover how to configure alerts based on these metrics. Finally, you will learn how to monitor application-specific metrics using Application Insights. When you're finished with this course, you will know how to best take advantage of all the components of Azure Monitor to gain tremendous insights into your infrastructure and applications performance.

Table of contents
  1. Course Overview1m
  2. Foundational Concepts10m
  3. Working with Azure Monitor23m
  4. Configuring Alerts15m
  5. Exploring Application Behaviors with Azure Application Insights18m


This section will focus on how you can apply App Insights using code, and to configure the instrumentation of an app or service. After this you’ll be ready for more advanced topics.

Instrument Microsoft Azure Application Insights in a Web Application

by Jeff Hopper

Aug 13, 2018 / 50m


Start Course

Part of building a successful web application is understanding how your application is being used and capturing exceptions before your users have a chance to report them. This requires embedding application monitoring within the logic of your application. In this course, Instrument Microsoft Azure Application Insights in a Web Application, you will receive an overview of how Application Insights can help you achieve this. First, you will learn how to integrate the SDK into your project. Next, you will explore the different metrics available for tracking. Finally, you will discover several different means to review and analyze these metrics within the Azure portal. When you are finished with this course, you’ll have a foundational knowledge of the types of metrics available to help you monitor your application.

Table of contents
  1. Course Overview1m
  2. Implementing Azure Application Insights SDK in Code17m
  3. Configure Instrumentation in a Web Application31m


In this section, you will dive deeper into logging and troubleshooting. You’ll learn to troubleshoot all the Azure Services that you may be using in your application. After this you’ll have the knowledge to troubleshoot your application on Microsoft Azure making sure you’re not stuck with a sub par performing app.

Microsoft Azure Developer: Implementing Application Logging with Diagnostic Logs

by Jeff Hopper

Nov 7, 2018 / 1h 34m

1h 34m

Start Course

Supporting web applications is hard, especially when a user reports a bug that is not easy to reproduce. Having access to server and application logs can help you walk through what has occurred to help you diagnose what went wrong. In this course, Microsoft Azure Developer: Implementing Application Logging with Diagnostic Logs, you'll learn how to capture and analyze the activity of your application through logging. First, you'll see the different types of logs available through Azure's App Service Diagnostic Logs. Next, you'll explore how to create your own application messages. Finally, you'll discover several tools to help analyze the logs being created by your application. When you're finished with this course, you'll have a foundational knowledge of Microsoft Azure's Diagnostic Logs that will help you as you troubleshoot issues with your applications.

Table of contents
  1. Course Overview1m
  2. Configure Logging Service29m
  3. Retrieve and Consume Logs from Azure22m
  4. Add Trace Statements to an Application23m
  5. Using App Service Diagnostics16m

Microsoft Azure Developer: Troubleshooting Using Microsoft Azure Portal

by Robert Lindley

Dec 14, 2018 / 1h 51m

1h 51m

Start Course

At the core of developing strategies for application, monitoring is a thorough knowledge of how both Microsoft Azure Portal Dashboards and Application Insights can be leveraged. In this course, Microsoft Azure Developer: Troubleshooting Using Microsoft Azure Portal, you will learn the skills you need to design robust monitoring solutions. First, you will learn how to create and manage effective Microsoft Azure Dashboards. Next, you will discover how to incorporate Application Insights metrics and real-time analytics into your dashboards. Finally, you will explore common Microsoft Azure resource monitoring features for Cosmos DB Databases, Microsoft Azure Functions, and Azure App Service. When you have completed this course, you will have a solid understanding of how Microsoft Azure Dashboards will help you to develop your own strategies for monitoring applications and services moving forward.

Table of contents
  1. Course Overview1m
  2. Designing Effective Microsoft Azure Dashboards17m
  3. Identifying Problems with Application Insights44m
  4. Monitoring Common Resources with Microsoft Azure Portal Dashboards47m

Microsoft Azure Developer: Advanced Troubleshooting

by Nikola Milanovic

Dec 5, 2018 / 2h 8m

2h 8m

Start Course

Using Microsoft Azure services can greatly simplify building your modern cloud-enabled solutions, but what happens when those services don't behave as expected? In this course, Microsoft Azure Developer: Advanced Troubleshooting, you'll gain the ability to trace the end-to-end execution of Azure services used to build modern, cloud-enabled applications. First, you'll explore how to instrument your code and add telemetry data in order to identify specific issues. Next, you'll discover how to monitor the execution of Azure Functions. Finally, you'll learn how to leverage monitoring capabilities and explore tools available on Azure, including Service Bus, Event Grid, and Service Fabric. When you're finished with this course, you'll have the necessary skills and knowledge of instrumenting your code and services so you could easily identify, isolate, and fix potential issues.

Table of contents
  1. Course Overview1m
  2. Using Azure Monitor5m
  3. Troubleshooting Service Bus23m
  4. Troubleshooting Event Grid9m
  5. Troubleshooting Querying Stream Analytics18m
  6. Troubleshooting Azure Functions27m
  7. Troubleshooting Service Fabric28m
  8. Troubleshooting Virtual Machine Scale Sets4m
  9. Troubleshooting Container Orchestrators8m