After you create an application, we recommend that you monitor its health status in real time. This helps you quickly respond to faults and ensures the continuity and stability of your business. The application management feature of CloudOps Orchestration Service (OOS) is integrated with the features of CloudMonitor to help you monitor applications in an easier and more efficient manner.
Benefits
After you migrate your business to the cloud, you may manage all cloud resources within a single Alibaba Cloud account. Your enterprise may contain multiple lines of business, and each line of business usually involves one or more applications. These lines of business are managed by different teams. To reduce management workloads and improve operational efficiency, you can manage resources by application group.
To troubleshoot issues in traditional mode, O&M engineers must first identify the affected line of business, find the corresponding application and application group in the online environment, and then view monitoring metrics to check whether errors occur.
After you create alert rules by application group, the alert information contains the application name and application group name. This allows you to quickly identify the affected line of business and its environment type.
CloudMonitor provides a one-stop, out-of-the-box, and enterprise-class monitoring solution. CloudMonitor supports IT infrastructure monitoring and Internet quality monitoring by using events and custom metrics. The monitoring services provided by CloudMonitor are efficient, comprehensive, and cost-effective. CloudMonitor helps you improve system service availability and reduce the operations and maintenance (O&M) costs of IT infrastructure.
The application management feature of OOS automatically creates a CloudMonitor application group in CloudMonitor for each application group in OOS.
View the monitoring information of an application group
On the Overview page of an application group, view the tags of the application group. The application management feature of OOS creates a dynamic group in CloudMonitor based on these tags. Each CloudMonitor application group corresponds to an application group in OOS.
Dashboards: displays the monitoring charts of core metrics of common resource types. You can view the metrics by group or by instance.
Fault List: displays all resources for which alerts are triggered in the current application group. If an alert rule that triggers alerts is disabled, the information about alerts triggered by the disabled rule is no longer displayed.
Availability Monitoring: allows you to configure the availability monitoring rules of the application.
Group Process: allows you to configure the monitoring rules of processes.
Alarm History: displays the historical data of alerts.
Alert Rules: allows you to manage alert rules.

Configure alerting for an application
Use alert contact groups
CloudMonitor sends alert notifications to alert contact groups. We recommend that you create alert contact groups by application and add the development and O&M owners of an application to these alert contact groups.
Use alert templates
We recommend that you use alert templates to manage the alerting configurations of an application. You can configure alert rules in an alert template based on the application architecture. For example, for a web application that uses Elastic Compute Service (ECS) instances, ApsaraDB RDS instances, and Server Load Balancer (SLB) instances, you can configure alert rules for the monitoring metrics of these resources in an alert template. You can use alert templates to quickly generate standard alerting configurations for different environments such as the staging environment and the production environment, or for multiple regions.
Configure monitoring and alerting for an application
If you need to apply the same monitoring and alerting configurations to all application groups of an application, you can configure monitoring and alerting at the application level. You can configure monitoring and alerting when you create an application. You can also modify the monitoring and alerting configurations in the Configure Advanced Settings dialog box after an application is created. The monitoring and alerting configurations of an application automatically take effect for all existing and new application groups of the application. This helps you reduce management costs. You can configure the following parameters:
Alert Contact Group: the alert contact groups of the application.
Alarm Template: the alert template of the application.
Application Health Check URL: the URL that you can use to configure the availability monitoring rules of the application. If the alert template already contains availability monitoring rules, you can leave this parameter empty. For example, the health check URL of an application is
http://localhost:8080/checkhealth. CloudMonitor periodically sends probe packets to this URL to check whether the application is available.
