Monitor Azure Managed Grafana using Azure Monitor's metric chart
In this article, you learn how to leverage Azure Monitor's metric chart feature to monitor an Azure Managed Grafana workspace.
In Azure Monitor, metrics are a series of measured values and counts that are collected and stored over time. These metrics reflect the health and usage statistics of your Azure resources.
Prerequisites
- An Azure account with an active subscription. Create an account for free.
- An Azure Managed Grafana workspace. If you don't have one yet, create an Azure Managed Grafana instance
Supported metrics
The following metrics are available for the Microsoft.Dashboard/grafana resource type.
- HttpRequestCount: The number of HTTP requests to the Azure Managed Grafana server.
- MemoryUsagePercentage: The Azure Managed Grafana workspace memory usage in percent.
For more details about supported metrics, go to Supported metrics for Microsoft.Dashboard/grafana.
Create a metric chart
These metrics can be accessed from your Azure Managed Grafana workspace, from Azure Monitor, and through the Azure Monitor API. The following section details how to create a metric chart in an Azure Managed Grafana workspace, in the Azure portal.
Open a Managed Grafana resource and go to Monitoring > Metrics.
Configure your chart:
- The scope and metric namespace are prepopulated.
- Select a metric from the list.
- Select an aggregation type among: Count, Avg, Min, Max, Sum.
- Select the time range and granularity that are relevant for your investigation.
Optionally create a new alert rule to be notified if the metric you configured exceeds or drops below a threshhold, or pin your dashboard to an Azure Dashboard, Grafana workspace or a Workbook.