Skip to content

Commit b81e069

Browse files
authored
Merge pull request #104570 from harelbr/patch-17
Update document
2 parents ab912b1 + dc17e01 commit b81e069

File tree

1 file changed

+25
-16
lines changed

1 file changed

+25
-16
lines changed

articles/azure-monitor/platform/alerts-metric.md

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
title: "Create, view and manage Metric Alerts Using Azure Monitor"
3-
description: Learn how to use Azure portal or CLI to create, view and manage metric alert rules.
2+
title: "Create, view, and manage Metric Alerts Using Azure Monitor"
3+
description: Learn how to use Azure portal or CLI to create, view, and manage metric alert rules.
44
author: harelbr
55
ms.service: azure-monitor
66
ms.topic: conceptual
7-
ms.date: 09/18/2018
7+
ms.date: 02/16/2020
88
ms.author: harelbr
99
ms.subservice: alerts
1010
---
1111
# Create, view, and manage metric alerts using Azure Monitor
1212

13-
Metric alerts in Azure Monitor provide a way to get notified when one of your metrics cross a threshold. Metric alerts work on a range of multi-dimensional platform metrics, custom metrics, Application Insights standard and custom metrics. In this article, we will describe how to create, view and manage metric alert rules through Azure portal and Azure CLI. You can also create metric alert rules using Azure Resource Manager templates which is described in [a separate article](alerts-metric-create-templates.md).
13+
Metric alerts in Azure Monitor provide a way to get notified when one of your metrics crosses a threshold. Metric alerts work on a range of multi-dimensional platform metrics, custom metrics, Application Insights standard and custom metrics. In this article, we will describe how to create, view, and manage metric alert rules through Azure portal and Azure CLI. You can also create metric alert rules using Azure Resource Manager templates, which are described in [a separate article](alerts-metric-create-templates.md).
1414

1515
You can learn more about how metric alerts work from [metric alerts overview](alerts-metric-overview.md).
1616

@@ -33,21 +33,30 @@ The following procedure describes how to create a metric alert rule in Azure por
3333

3434
6. You will see a list of signals supported for the resource, select the metric you want to create an alert on.
3535

36-
7. Optionally, refine the metric by adjusting **Period** and **Aggregation**. If the metric has dimensions, you will see **Dimensions** table presented. Select one or more values per dimension. The metric alert will run evaluate the condition for all combinations of values selected. [Learn more about how alerting on multi-dimensional metrics works](alerts-metric-overview.md). You can also **Select \*** for any of the dimensions. **Select \*** will dynamically scale the selection to all current and future values for a dimension.
36+
7. You will see a chart for the metric for the last six hours. Use the **Chart period** dropdown to select to see longer history for the metric.
3737

38-
8. You will see a chart for the metric for the last 6 hours. Define the alert parameters; **Condition Type**, **Frequency**, **Operator** and **Threshold** or **Sensitivity**, this will determine the logic which the metric alert rule will evaluate. [Learn more about Dynamic Thresholds condition type and sensitivity options](alerts-dynamic-thresholds.md).
38+
8. If the metric has dimensions, you will see a dimensions table presented. Select one or more values per dimension.
39+
- The displayed dimension values are based on metric data from the last three days.
40+
- If the dimension value you're looking for isn't displayed, click "+" to add a custom value.
41+
- You can also **Select \*** for any of the dimensions. **Select \*** will dynamically scale the selection to all current and future values for a dimension.
3942

40-
9. If you are using a static threshold, the metric chart can help determine what might be a reasonable threshold. If you are using a Dynamic Thresholds, the metric chart will display the calculated thresholds based on recent data.
43+
The metric alert rule will evaluate the condition for all combinations of values selected. [Learn more about how alerting on multi-dimensional metrics works](alerts-metric-overview.md).
4144

42-
10. Click **Done**
45+
9. Select the **Threshold** type, **Operator**, and **Aggregation type**. This will determine the logic that the metric alert rule will evaluate.
46+
- If you are using a **Static** threshold, continue to define a **Threshold value**. The metric chart can help determine what might be a reasonable threshold.
47+
- If you are using a **Dynamic** threshold, continue to define the **Threshold sensitivity**. The metric chart will display the calculated thresholds based on recent data. [Learn more about Dynamic Thresholds condition type and sensitivity options](alerts-dynamic-thresholds.md).
4348

44-
11. Optionally, add another criteria if you want to monitor a complex alert rule. Currently users can have alert rules with Dynamic Thresholds criteria as a single criterion.
49+
10. Optionally, refine the condition by adjusting **Aggregation granularity** and **Frequency of evaluation**.
4550

46-
12. Fill in **Alert details** like **Alert Rule Name**, **Description** and **Severity**
51+
11. Click **Done**.
4752

48-
13. Add an action group to the alert either by selecting an existing action group or creating a new action group.
53+
12. Optionally, add another criteria if you want to monitor a complex alert rule. Currently users can have alert rules with Dynamic Thresholds criteria as a single criterion.
4954

50-
14. Click **Done** to save the metric alert rule.
55+
13. Fill in **Alert details** like **Alert rule name**, **Description**, and **Severity**.
56+
57+
14. Add an action group to the alert either by selecting an existing action group or creating a new action group.
58+
59+
15. Click **Done** to save the metric alert rule.
5160

5261
> [!NOTE]
5362
> Metric alert rules created through portal are created in the same resource group as the target resource.
@@ -60,7 +69,7 @@ You can view and manage metric alert rules using the Manage Rules blade under Al
6069

6170
2. Click on **Alerts** and **Manage rules**
6271

63-
3. In the **Manage rules** blade, you can view all your alert rules across subscriptions. You can further filter the rules using **Resource group**, **Resource type** and **Resource**. If you want to see only metric alerts, select **Signal type** as Metrics.
72+
3. In the **Manage rules** blade, you can view all your alert rules across subscriptions. You can further filter the rules using **Resource group**, **Resource type**, and **Resource**. If you want to see only metric alerts, select **Signal type** as Metrics.
6473

6574
> [!TIP]
6675
> In the **Manage rules** blade, you can select multiple alert rules and enable/disable them. This might be useful when certain target resources need to be put under maintenance
@@ -76,11 +85,11 @@ You can view and manage metric alert rules using the Manage Rules blade under Al
7685

7786
## With Azure CLI
7887

79-
The previous sections described how to create, view and manage metric alert rules using Azure portal. This section will describe how to do the same using cross-platform [Azure CLI](https://docs.microsoft.com/cli/azure/get-started-with-azure-cli?view=azure-cli-latest). Quickest way to start using Azure CLI is through [Azure Cloud Shell](https://docs.microsoft.com/azure/cloud-shell/overview?view=azure-cli-latest). For this article, we will use Cloud shell.
88+
The previous sections described how to create, view, and manage metric alert rules using Azure portal. This section will describe how to do the same using cross-platform [Azure CLI](https://docs.microsoft.com/cli/azure/get-started-with-azure-cli?view=azure-cli-latest). Quickest way to start using Azure CLI is through [Azure Cloud Shell](https://docs.microsoft.com/azure/cloud-shell/overview?view=azure-cli-latest). For this article, we will use Cloud Shell.
8089

81-
1. Go to Azure portal, click on **Cloud shell**.
90+
1. Go to Azure portal, click on **Cloud Shell**.
8291

83-
2. At the prompt, you can use commands with ``--help`` option to learn more about the command and how to use it. For example, the following command shows you the list of commands available for creating, viewing and managing metric alerts
92+
2. At the prompt, you can use commands with ``--help`` option to learn more about the command and how to use it. For example, the following command shows you the list of commands available for creating, viewing, and managing metric alerts
8493

8594
```azurecli
8695
az monitor metrics alert --help

0 commit comments

Comments
 (0)