Application Monitoring
An application groups identical or similar components based on service requirements. Through application monitoring, you can learn about the resource usage, status, and alarms of applications in a timely manner to quickly respond to requests and ensure smooth system running.
Function Introduction
Based on CMDB, application monitoring monitors resources by layers (application, service component, and environment). The metrics monitored at each layer are different.
- Application monitoring
Monitor alarm information at the business, application, middleware, and infrastructure layers, and bind the dashboards to display metric, log, and system graphs.
- Component monitoring
Monitor alarm information of components. Query both active and historical alarms about components to quickly rectify faults.
Figure 1 Component monitoring
- Environment monitoring
Monitor and analyze core environment metrics from the environment overview, logs, performance, traces, and alarms. Monitor core metrics such as the process status, application performance (number of errors, number of requests, and average response time), and alarm distribution in the pre-release and production environments. You can also monitor hosts, processes, containers, performance, logs, and cloud services.
Figure 2 Environment monitoring
Precautions
- To use application monitoring, enable Application Insights in Menu Settings. For details, see Menu Settings.
- To report CCE workload metrics to AOM and mount them to the application tree on the left of the Application Monitoring page as components, upgrade the workloads first. The following shows the procedure:
- Log in to the CCE console and click a target cluster name.
- Choose Workloads in the navigation pane, and select the type of workload whose metrics are to be reported to AOM.
- In the Operation column of the workload, choose More > Edit YAML.
- In the displayed dialog box, locate the spec.template.metadata.annotations code segment.
Figure 3 Editing the YAML file
- Set parameters by referring to Table 1. Figure 4 shows the details.
- Click Confirm to save the modification.
- (Optional) In the Edit YAML window, click Download to download the YAML file.
Procedure
- Log in to the AOM 2.0 console.
- In the navigation pane, choose Application Insights (Retiring) > Application Monitoring.
- On the left of the Application Monitoring page, search for and select the target applications or components by application, region, tag, or keyword.
- Select an application. In the right pane, view the alarms of each layer and the dashboards bound to the application.
- Click Business, Application, Middleware, or Infrastructure to check whether resources at the corresponding layer are healthy. If resources are healthy, the resource layer is green. If an alarm is generated, the resource layer is red. When an alarm is generated, click it to view the alarm details and handling suggestions.
- For details about operations related to dashboards, see Dashboard.
- Select a component and view the alarm analysis about the component in the right pane.
- Click an alarm name to view alarm details. For details, see Checking Alarms.
- Click the drop-down list box in the upper right corner and switch between Active Alarms or Historical Alarms.
- Select an environment and check the environment, process, performance, log analysis, trace, and alarm information in the right pane.
Figure 5 Checking the environment
- In the Environment Overview area, click a resource or cloud service to view their information. Click an instance to view its metrics, logs, and alarms.
- On the Overview tab page, view environment metrics, and application and infrastructure information.
- On the Logs tab page, view the raw logs and real-time logs of the environment, and perform visual analysis. For details, see Log Streams. If a message indicating that no application logs are found is displayed, click Ingest Now to ingest logs. For details, see Log Ingestion.
- On the Performance tab page, view the performance about the environment. To use this function, you need to obtain APM permissions. For details, see Permissions Management.
- On the Traces tab page, view request success/failure, response time, and generation time about URLs and call methods. To use this function, you need to obtain APM permissions. For details, see Permissions Management.
- On the Alarms tab page, view the alarms and events in the current environment. For details, see Checking Alarms and Viewing Events.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot