Container monitoring service depends on Alibaba Cloud CloudMonitor service, and provides users with default monitoring, alarm rules configuration and other services for operating and maintaining the container. Moreover, the Container Service provides the capability to integrate with third-party open source solutions (for more information, refer to Integrate with third-party monitoring solutions).
Log on to the Container Service console.
Use one of the following three methods to locate the container list page:
- Through nodes.
i. Click Nodes in the left navigation pane.
ii. Click the IP address of the node.
- Through applications.
i. Click Applications in the left navigation pane.
ii. Select the cluster of the desired application.
iii. Click the name of the target application.
- Through services.
i. Click Services in the left navigation pane.
ii. Select the cluster of the desired service.
iii. Click the name of the target service.
- Through nodes.
In the container list, locate the target container and click Monitor.
You can view the real-time monitoring information of the container.
Click View History Monitoring Data/Set Alarm Rules to go to the CloudMonitor console and view history monitoring data of this container.
Set alarm rules.
For some services, you can add alarm rules according to your needs, and the container monitoring service will send a message to the contact listed in the cloud account whenever the monitoring metrics breach the alarm threshold value.
- Click New Alarm Rule in the upper-right corner.
- Based on your actual business requirements, define the rules and click Next.
- Set the contact for alarms and click OK.
- A message is displayed indicating that the alarm rule has been set. Click Close.
- Click Alarm rules to view alarm rules and relevant records.