You can view monitoring information about Tablestore resources to monitor the resource usage. You can also configure alert rules for important metrics of the resources. This way, you can receive notifications of metric anomalies and troubleshoot the errors at the earliest opportunity. This topic describes the metrics of Tablestore and the alert rules that you can configure for the metrics.
Background information
CloudMonitor is a service that monitors Internet applications and Alibaba Cloud resources. You can use CloudMonitor to monitor the metrics of Alibaba Cloud resources and configure alert rules for specific metrics. This way, you can monitor the usage of your Alibaba Cloud resources and the status of your applications. You can also handle alerts at the earliest opportunity to ensure the availability of your applications. For more information, see What is CloudMonitor?
Metrics
You can monitor Tablestore instances by using the CloudMonitor console and monitor Tablestore instances and tables by using CloudMonitor SDKs. You can also monitor Tablestore instances, tables, and search indexes by using the Tablestore console.
Tablestore metrics monitored by using the CloudMonitor console
Resource type | Metric | Description |
Instances | InstanceCU | The average number of capacity units (CUs) that are consumed per minute in on-demand mode. Note CUs are the unit of measurement that is used for read throughput and write throughput in on-demand mode. For more information, see Read and write throughput. The metrics include internal read CUs, internal write CUs, instance metered read CUs, instance metered write CUs, read CUs for operations, and write CUs for operations. |
RequestCount | The average number of requests per minute. The metrics include the total number of requests and the numbers of requests that return status codes 2xx, 429, 4xx, and 5xx. | |
InstanceNet | The average amount of traffic that is used per minute. The metrics include inbound traffic over the Internet, outbound traffic over the Internet, free outbound traffic over the Internet, inbound traffic over the internal network, and outbound traffic over the internal network. | |
RowCount | The average number of rows on which operations are performed per minute. The metrics include the total number of rows and the number of failed rows. |
Tablestore metrics monitored by using CloudMonitor SDKs
Resource type | Metric | Description |
Instances | InstanceCount2xxNumber | The number of requests that return status codes 2xx per second. |
InstanceCount429Number | The number of requests that return status code 429 per second. | |
InstanceCount4xxNumber | The number of requests that return status codes 4xx per second. | |
InstanceCount5xxNumber | The number of requests that return status codes 5xx per second. | |
InstanceExtranetIn | The amount of inbound traffic over the Internet per second. Unit: bytes. | |
InstanceExtranetOut | The amount of outbound traffic over the Internet per second. Unit: bytes. | |
InstanceFailRowCount | The number of rows on which the operations failed per second. | |
InstanceFreeExtranetOut | The amount of free outbound traffic over the Internet per second. Unit: bytes. | |
InstanceFreeReadCU | The number of internal read CUs per second. | |
InstanceFreeWriteCU | The number of internal write CUs per second. | |
InstanceIntranetIn | The amount of inbound traffic over the internal network per second. Unit: bytes. | |
InstanceIntranetOut | The amount of outbound traffic over the internal network per second. Unit: bytes. | |
InstanceOverReadCU | The number of excess read CUs of an instance per second. | |
InstanceOverWriteCU | The number of excess write CUs of an instance per second. | |
InstanceReadCU | The number of read CUs for operations in an instance per second. | |
InstanceRequestNumber | The total number of requests per second. | |
InstanceRowCount | The total number of rows on which operations are performed per second. | |
InstanceVCU | The number of VCUs of an instance per second. | |
Tables (including data tables and secondary indexes) | AverageLatency | The average operation latency. Unit: microseconds. |
Count2xxNumber | The number of requests that return status codes 2xx per second. | |
Count429Number | The number of requests that return status code 429 per second. | |
Count4xxNumber | The number of requests that return status codes 4xx per second. | |
Count5xxNumber | The number of requests that return status codes 5xx per second. | |
ExtranetIn | The amount of inbound traffic over the Internet per second. Unit: bytes. | |
ExtranetOut | The amount of outbound traffic over the Internet per second. Unit: bytes. | |
FailRowCount | The number of rows on which the operations failed per second. | |
FreeExtranetOut | The amount of free outbound traffic over the Internet per second. Unit: bytes. | |
StorageSize | The volume of data that is stored in the table. Unit: bytes. | |
FreeReadCU | The number of internal read CUs per second. | |
FreeWriteCU | The number of internal write CUs per second. | |
IntranetIn | The amount of inbound traffic over the internal network per second. Unit: bytes. | |
IntranetOut | The amount of outbound traffic over the internal network per second. Unit: bytes. | |
OverReadCU | The number of excess read CUs of a table per second. | |
OverWriteCU | The number of excess write CUs of a table per second. | |
ReadCU | The number of read CUs for operations per second. | |
RequestNumber | The total number of requests per second. | |
RowCount | The total number of rows on which operations are performed per second. | |
WriteCU | The number of write CUs for operations per second. | |
Time series tables | StorageSize | The volume of data that is stored in the table. Unit: bytes. |
Tablestore metrics monitored by using the Tablestore console
Resource type | Metric | Description |
Instances, tables (including data tables and secondary indexes), and search indexes | Number of requests per second | The average number of requests per minute. The metrics include queries per second (QPS) for all requests and QPS for requests that return status codes 2xx, 4xx, 5xx, and 429. |
Number of rows | The average number of rows on which operations are performed per minute. The metrics include the total number of rows and the number of failed rows. | |
Traffic statistics | The average amount of traffic that is used per minute. The metrics include inbound traffic over the Internet, outbound traffic over the Internet, inbound traffic over the internal network, outbound traffic over the internal network, and free outbound traffic over the Internet. | |
CapacityUnit | The average number of CUs that are consumed per minute. The metrics include read CUs, write CUs, internal read CUs, and internal write CUs. | |
Request status statistics | The numbers and proportions of requests that return status codes such as 2xx, 4xx, 429, and 5xx. | |
Tables and search indexes | Average access latency | The average access latency per minute. The metric is the request latency. |
Tables | Table size | The volume of data that is stored in the table per minute. |
Search indexes | Storage volume | The volume of data that is stored in the search index. Unit: bytes. |
Number of rows | The number of rows that are synchronized from the data table to the search index. | |
Reserved read CUs | The number of reserved read CUs for the search index. |
Alert rules
You can configure alert rules for various metrics in the CloudMonitor console. If the metric value of a resource meets the alert condition, CloudMonitor automatically sends notifications to specified recipients. The following table describes the alert severity, notification methods, and alert condition that you can configure for alert rules.
Alert severity | Notification method | Alert condition |
Info | Email + DingTalk | The average value of the metric reaches the specified threshold for consecutive N cycles. You can configure the value of N based on the alert severity. Note The alert condition varies based on the type of the metric that is used. |