Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Metrics are numerical values that are automatically collected at regular intervals and describe some aspect of a resource. For example, a metric might tell you the processor utilization of a virtual machine, the free space in a storage account, or the incoming traffic for a virtual network.
Metrics explorer is a feature of Azure Monitor in the Azure portal. You can use it to create charts from metric values, visually correlate trends, and investigate spikes and dips in metric values. Use the metrics explorer to plot charts from metrics created by your Azure resources and investigate their health and utilization.
In this tutorial, you learn how to:
The following video shows a more extensive scenario than the procedure outlined in this tutorial. If you're new to metrics, read this article first and then view the video to see more specifics.
To complete the steps in this tutorial, you need an Azure resource to monitor. You can use any resource in your Azure subscription that supports metrics. To determine whether a resource supports metrics, go to its menu in the Azure portal. Then verify that a Metrics option is in the Monitoring section of the menu.
Select Metrics under the Monitoring section of your resource's menu. The scope is already populated with your resource. The following example is for a storage account, but other Azure services will look similar.
Select a Namespace if the scope has more than one. The namespace is a way to organize metrics so that you can easily find them. For example, storage accounts have separate namespaces for storing Files, Tables, Blobs, and Queues metrics. Many resource types have only one namespace.
Select a metric from a list of available metrics for the selected scope and namespace.
Alternatively, change the metric Aggregation. This option defines how the metric values will be aggregated across the time granularity for the graph. For example, if the time granularity is set to 15 minutes and the aggregation is set to Sum, each point in the graph will be the sum of all collected values over each 15-minute segment.
Select Add metric and repeat these steps if you want to see multiple metrics plotted in the same chart. For multiple charts in one view, select New chart.
By default, the chart shows the most recent 24 hours of metrics data.
Use the time picker to change the Time range for the chart or the Time granularity, which defines the time range for each data point. The chart uses the specified aggregation to calculate all sampled values over the time granularity specified.
Use the time brush to investigate an interesting area of the chart, such as a spike or a dip. Put the mouse pointer at the beginning of the area, click and hold the left mouse button, drag to the other side of the area, and release the button. The chart will zoom in on that time range.
See the following references for advanced features you can use to perform more analysis on your metrics and identify potential outliers in your data:
See examples of charts that have filtering and splitting applied.
You can customize the chart style and title and modify advanced chart settings. When you're finished with customization, pin the chart to a dashboard to save your work. You can also configure metrics alerts. To learn about these options and other advanced features of Azure Monitor metrics explorer, see Advanced features of Azure metrics explorer.
Now that you've learned how to work with metrics in Azure Monitor, learn how to create a metric alert rule to be notified when a metric value indicates a potential problem.
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Learning path
Azure Monitor fundamentals - Training
Learn how to monitor the usage, performance, and availability of resources using Azure Monitor.
Certification
Microsoft Certified: Fabric Analytics Engineer Associate - Certifications
As a Fabric analytics engineer associate, you should have subject matter expertise in designing, creating, and deploying enterprise-scale data analytics solutions.