Skip to main content

Azure Monitor Panel

CONTENT DELIVERABLES
  • Summary: How to implement Azure Monitor, use Azure Monitoring Panel
  • Description: This piece of content should be specially crafted for JavaScript developers, and tone and characteristics of content should target this audience
  • Dependencies: Scenario 1
  • Service: App Monitor
  • Type of Content: Procedural

1. What is Azure Monitor?

By definition, Azure Monitor helps you maximize the availability and performance of your applications and services. It delivers a comprehensive solution for collecting, analyzing, and acting on telemetry from your cloud and on-premises environments. This information helps you understand how your applications are performing and proactively identify issues that affect them and the resources they depend on.

EXERCISE

Visit the Azure Portal, click on the hamburger menu, and select the Monitor option. You should see the Azure Monitoring Blade shown here. Explore the various panels and options.

2. How do I activate it?

Azure Monitor is available the moment you create an Azure subscription. The Activity log immediately starts collecting events about activity in the subscription, and platform metrics are collected for any Azure resources you created. Features such as metrics explorer are available to analyze data. Other features require configuration. Similarly, as soon as you create an Azure resource, Azure Monitor is enabled and starts collecting metrics and activity logs.

  • Metrics data can be explored at any time using the Metrics Explorer in the Azure Portal.

  • Log data can be analyzed with queries using the Log Analytics UI in the Azure portal.

EXERCISE

To get hands-on experience with the Azure Monitor, start by monitoring a single resource using this tutorial as a guide. Learn how Azure Monitor is activated by each type of service, what types of data are collected, and how data is analyzed and visualized in tools like Metrics Explorer and Log Analytics.

3. How do I use it effectively?

Using Azure Monitor effectively requires 2 key steps:

  • Configure the Azure Monitor components (to collect and analyze data from targeted resources)
  • Configure the targeted Azure resources (to generate desired data for analysis)

From a developer workflow perspective, there are 5 main steps:

  1. Planning - define your requirements.
  2. Configure - resources for data collection.
  3. Analyze - monitored data with queries, visualizations
  4. Alert - with automated responses or notifications on key events
  5. Optimize - costs for Azure monitor usage by iterative evaluation
EXERCISE

Walk through these 7 modules to get experience with:

  • Setting up and configuring Azure Monitor
  • Full-stack monitoring with App Insights
  • Azure VM health monitoring with Metrics Explorer
  • Page Load Times for web apps with App Insights
  • Log Queries using Kusto Query Language
  • Analyze Azure infra with Azure Monitor logs
  • Improve incident response with Azure Monitor alerts

4. Azure Monitor In Action!

TODO

Walk through logs, metrics, app insights for the deployed E2E app. Identify ways to monitor for:

  • app performance
  • resource utilization
  • cost optimization