Monitor Azure Monitor Resource Group insights

Modern applications are often complex and highly distributed with many discrete parts working together to deliver a service. Recognizing this complexity, Azure Monitor provides monitoring insights for resource groups. This makes it easy to triage and diagnose any problems your individual resources encounter, while offering context as to the health and performance of the resource group—and your application—as a whole.

Access insights for resource groups

  1. Select Resource groups from the left-side navigation bar.
  2. Pick one of your resource groups that you want to explore. (If you have a large number of resource groups filtering by subscription can sometimes be helpful.)
  3. To access insights for a resource group, click Insights in the left-side menu of any resource group.

Screenshot of resource group insights overview page.

Resources with active alerts and health issues

The overview page shows how many alerts have been fired and are still active, along with the current Azure Resource Health of each resource. Together, this information can help you quickly spot any resources that are experiencing issues. Alerts help you detect issues in your code and how you've configured your infrastructure. Azure Resource Health surfaces issue with the Azure platform itself, that aren't specific to your individual applications.

Screenshot of Azure Resource Health pane.

Azure Resource Health

To display Azure Resource Health, check the Show Azure Resource Health box above the table. This column is hidden by default to help the page load quickly.

Screenshot with resource health graph added.

By default, the resources are grouped by app layer and resource type. App layer is a simple categorization of resource types, that only exists within the context of the resource group insights overview page. There are resource types related to application code, compute infrastructure, networking, storage + databases. Management tools get their own app layers, and every other resource is categorized as belonging to the Other app layer. This grouping can help you see at-a-glance what subsystems of your application are healthy and unhealthy.

Diagnose issues in your resource group

The resource group insights page provides several other tools scoped to help you diagnose issues

Tool Description
Alerts View, create, and manage your alerts.
Metrics Visualize and explore your metric based data.
Activity logs Subscription level events that have occurred in Azure.
Application map Navigate your distributed application's topology to identify performance bottlenecks or failure hotspots.

Failures and performance

What if you've noticed your application is running slowly, or users have reported errors? It's time consuming to search through all of your resources to isolate problems.

The Performance and Failures tabs simplify this process by bringing together performance and failure diagnostic views for many common resource types.

Most resource types will open a gallery of Azure Monitor Workbook templates. Each workbook you create can be customized, saved, shared with your team, and reused in the future to diagnose similar issues.

Investigate failures

To test out the Failures tab select Failures under Investigate in the left-hand menu.

The left-side menu bar changes after your selection is made, offering you new options.

Screenshot of Failure overview pane.

When App Service is chosen, you are presented with a gallery of Azure Monitor Workbook templates.

Screenshot of application workbook gallery.

Choosing the template for Failure Insights will open the workbook.

Screenshot of failure report.

You can select any of the rows. The selection is then displayed in a graphical details view.

Screenshot of failure details.

Workbooks abstract away the difficult work of creating custom reports and visualizations into an easily consumable format. While some users may only want to adjust the prebuilt parameters, workbooks are completely customizable.

To get a sense of how this workbook functions internally, select Edit in the top bar.

Screenshot of additional edit option.

A number of Edit boxes appear near the various elements of the workbook. Select the Edit box below the table of operations.

Screenshot of edit boxes.

This reveals the underlying log query that is driving the table visualization.

Screenshot of log query window.

You can modify the query directly. Or you can use it as a reference and borrow from it when designing your own custom parameterized workbook.

Investigate performance

Performance offers its own gallery of workbooks. For App Service the prebuilt Application Performance workbook offers the following view:

Screenshot of performance view.

In this case, if you select edit you will see that this set of visualizations is powered by Azure Monitor Metrics.

Screenshot of performance view with Azure Metrics.

Troubleshooting

Enabling access to alerts

To see alerts in Resource Group insights, someone with an Owner or Contributor role for this subscription needs to open Resource Group insights for any resource group in the subscription. This will enable anyone with read access to see alerts in Resource Group insights for all of the resource groups in the subscription. If you have an Owner or Contributor role, refresh this page in a few minutes.

Resource Group insights relies on the Azure Monitor Alerts Management system to retrieve alert status. Alerts Management isn't configured for every resource group and subscription by default, and it can only be enabled by someone with an Owner or Contributor role. It can be enabled either by:

  • Opening Resource Group insights for any resource group in the subscription.
  • Or by going to the subscription, clicking Resource Providers, then clicking Register for Microsoft.AlertsManagement.

Next steps