Metrics
Cloud Monitor provides the following metrics for availability monitoring.
You can call the DescribeHostAvailabilityList operation to query the Id (availability monitoring task ID) and Instances (monitored ECS instance IDs) parameters.
When you call an API operation provided by CloudMonitor, set the Namespace and Period parameters.
-
Set the Namespace parameter to acs_cms_detect.
-
Set the Period parameter to an integral multiple of 60. Default value: 60. Unit: seconds.
The following table describes the valid values of the MetricName and Dimensions parameters.
|
Metric |
Unit |
MetricName |
Dimensions |
Statistics |
|
HTTP availability rate |
% |
HTTPAvailability |
userId and taskId |
Value |
|
HTTP response time of an instance |
Millisecond |
HttpLatency |
userId, taskId, and instanceId |
Average, Maximum, and Value |
|
HTTP status code of an instance |
Statuscode |
HttpStatus |
userId, taskId, and instanceId |
Value and Maximum |
|
Ping response time of an instance |
Millisecond |
PingLatency |
userId, taskId, and instanceId |
Average, Value, Maximum, and Minimum |
|
Ping packet loss rate of an instance |
% |
PingLostRate |
userId, taskId, and instanceId |
Value, Average, Maximum, and Minimum |
|
TCP availability rate |
% |
TCPAvailability |
userId and taskId |
Value |
|
Telnet response time of an instance |
Millisecond |
TelnetLatency |
userId, taskId, and instanceId |
Average, Maximum, and Value |
|
Telnet status code of an instance |
Statuscode |
TelnetStatus |
userId, taskId, and instanceId |
Value and Maximum |