Use application groups to organize large-scale, frequently changing cloud resources by tag or resource group. Apply alert templates to application groups to manage alert rules centrally.
Prerequisites
Resources are available with tags or resource groups assigned.
Step 1: Create an application group
When you create an application group by tag or resource group, matching resources are automatically added. You can then manage resources at the group level.
-
Log on to the Cloud Monitor console.
-
In the left-side navigation pane, choose .
-
On the Application Groups tab, click Create Application Group.
-
In the Create Application Group panel, set Creation Method to Create Based on Tags or Create from Resource Group, and configure the parameters for the application group.
Configure application group parameters by following Create an application group by tag or Create an application group by resource group.
NoteCreate an application group based on tags (if your resources are tagged) or resource groups (if your resources belong to a resource group).
-
Click OK.
The Group Overview page displays basic information and associated cloud services for the application group.
Step 2: View monitoring data for the application group
After creating an application group in Step 1, matching resources are automatically added. You can then view their monitoring data.
-
In the left-side navigation pane, click Dashboards.
-
Click a cloud service tab and specify a time range.
The monitoring charts for the service metrics are displayed.
Step 3: Create an alert template and apply it to the application group
When you apply an alert template to an application group, Cloud Monitor automatically creates alert rules from the template.
-
In the left-side navigation pane, choose .
-
On the Alert Templates page, click Create Alert Template.
-
In the Create Alert Template panel, enter a name for the alert template, select a cloud service, and then configure the parameters for the metric template.
Configure metric template parameters by following Create an alert template.
-
Click OK.
-
In the Alert Template Created/Modified dialog box, click OK.
-
In the Apply Templates to Groups dialog box, select the application group that you created in Step 1. You can keep the default values for the other parameters.
-
Click OK.
-
In the Apply Templates to Groups dialog box, click OK.
The alert template is applied to the application group. Alert rule creation takes a few minutes.
Step 4: View resources with triggered alerts
View the number of alerting resources and alert history by application group.
-
In the left-side navigation pane, choose .
-
On the Alerts page, click the Application Groups tab to view the number of resources that are triggering alerts for each application group.