Open In App

Microsoft Azure – Configuring an Alert Rule with Azure Monitor

The azure monitor is a powerful monitoring tool that works like a smart dashboard for our applications and services by collecting application, guest operating system(OS), Azure resource, Azure subscription, and Azure tenant monitoring data to help us gain insights, understand the performance of our cloud and on-premise applications and services to easily identify issues that might affect them and know the factors and resources they depend on. 

It helps us gain application, virtual machines(VM), container insights, respond to critical situations, and metric thresholds set by us, using alert and auto-scale features. It also provides us with different options to visualize, integrate the data that is being monitored, and export it if required. 



Alerts in Azure monitor :

Alerts in Azure monitor uses the data collected by Azure monitor from our application and services to notify the administrators when an anomaly or issues based on certain thresholds are found. This helps us in taking the correct measure to fix the issue before the end-user gets to know about it. 

The key attributes of an alert in Azure Monitor are : 



  1. Target resource
  2. Criteria
  3. Signal
  4. Alert name
  5. Severity
  6. Alert description
  7. Action

Using these key attributes we can create an alert to notify us of different metrics and logs from the target resource we choose.

Creating alerts with Microsoft Azure portal :  

Azure portal is an easy-to-use web-based user interface that helps to create, manage, deploy and use Azure resources effectively.  

Prerequisites : 

You need to have an active Azure Subscription. You can avail of a free 12-month subscription from here.  

After you have signed in to your account follow the simple steps below to have your alerts ready :  

Your metric alert is ready to use. Now you will be alerted based on the threshold value set by you.  

Manage and View the Alert in Azure Portal : 

We can manage and view the Alert in Azure Monitor. This is how we can view and edit the created metric alerts:  

Congratulations! With a few steps, you learned what Azure Monitor, metric alerts are and how to use Azure monitor to create custom alerts.  

We can also create metric alerts using :  

Article Tags :