Amazon Keyspaces metrics and dimensions
When you interact with Amazon Keyspaces, it sends the following metrics and dimensions to Amazon CloudWatch. All metrics are aggregated and reported every minute. You can use the following procedures to view the metrics for Amazon Keyspaces.
To view metrics using the CloudWatch console
Metrics are grouped first by the service namespace, and then by the various dimension combinations within each namespace.
Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/
. -
If necessary, change the Region. On the navigation bar, choose the Region where your AWS resources reside. For more information, see AWS service endpoints.
-
In the navigation pane, choose Metrics.
-
Under the All metrics tab, choose
AWS/Cassandra.
To view metrics using the AWS CLI
-
At a command prompt, use the following command.
aws cloudwatch list-metrics --namespace "AWS/Cassandra"
Amazon Keyspaces metrics and dimensions
The metrics and dimensions that Amazon Keyspaces sends to Amazon CloudWatch are listed here.
Amazon Keyspaces metrics
Amazon CloudWatch aggregates Amazon Keyspaces metrics at one-minute intervals.
Not all statistics, such as Average
or Sum
, are applicable
for every metric. However, all of these values are available through the Amazon Keyspaces console,
or by using the CloudWatch console, AWS CLI, or AWS SDKs for all metrics. In the following
table, each metric has a list of valid statistics that are applicable to that
metric.
Metric | Description |
---|---|
AccountMaxTableLevelReads |
The maximum number of read capacity units that can be used by a table of an account. For on-demand tables this limit caps the maximum read request units a table can use. Units: Valid Statistics:
|
AccountMaxTableLevelWrites |
The maximum number of write capacity units that can be used by a table of an account. For on-demand tables this limit caps the maximum write request units a table can use. Units: Valid Statistics:
|
AccountProvisionedReadCapacityUtilization |
The percentage of provisioned read capacity units utilized by an account. Units: Valid Statistics:
|
AccountProvisionedWriteCapacityUtilization |
The percentage of provisioned write capacity units utilized by an account. Units: Valid Statistics:
|
BillableTableSizeInBytes |
The billable size of the table in bytes. It is the sum of the encoded size of all rows in the table. This metric helps you track your table storage costs over time. Units: Dimensions: Valid Statistics:
|
ConditionalCheckFailedRequests |
The number of failed lightweight transaction (LWT) write requests. The
Units: Dimensions: Valid Statistics:
|
ConsumedReadCapacityUnits |
The number of read capacity units consumed over the specified time period. For more information, see Read/Write capacity mode. NoteTo understand your average throughput utilization per second, use the
Units: Dimensions: Valid Statistics:
|
ConsumedWriteCapacityUnits |
The number of write capacity units consumed over the specified time period. You can retrieve the total consumed write capacity for a table. For more information, see Read/Write capacity mode. NoteTo understand your average throughput utilization per second, use the
Units: Dimensions: Valid Statistics:
|
MaxProvisionedTableReadCapacityUtilization |
The percentage of provisioned read capacity units utilized by the highest provisioned read table of an account. Units: Valid Statistics:
|
MaxProvisionedTableWriteCapacityUtilization |
The percentage of provisioned write capacity utilized by the highest provisioned write table of an account. Units: Valid Statistics:
|
PerConnectionRequestRateExceeded |
Requests to Amazon Keyspaces that exceed the per-connection request rate quota. Each client connection to Amazon Keyspaces can support up to 3000 CQL requests per second. Clients can create multiple connections to increase throughput. When you're using multi-Region replication, each replicated write also contributes to this
quota. As a best practice, we recommend to increase the number of connections
to your tables to avoid Units: Dimensions: Valid Statistics:
|
ProvisionedReadCapacityUnits |
The number of provisioned read capacity units for a table. The Units: Dimensions: Valid Statistics:
|
ProvisionedWriteCapacityUnits |
The number of provisioned write capacity units for a table. The Units: Dimensions: Valid Statistics:
|
ReadThrottleEvents |
Requests to Amazon Keyspaces that exceed the provisioned read capacity for a table, or account level quotas, request per connection quotas, or partition level quotas. Units: Dimensions: Valid Statistics:
|
ReplicationLatency |
This metric only applies to multi-Region keyspaces and measures the time
it took to replicate Units: Dimensions: Valid Statistics:
|
ReturnedItemCountBySelect |
The number of rows returned by multi-row The number of rows returned is not necessarily the
same as the number of rows that were evaluated. For example, suppose that you
requested a Units: Dimensions: Valid Statistics:
|
StoragePartitionThroughputCapacityExceeded |
Requests to an Amazon Keyspaces storage partition that exceed the throughput capacity of the partition. Amazon Keyspaces storage partitions can support up to 1000 WCU/WRU per second and 3000 RCU/RRU per second. We recommend reviewing your data model to distribute read/write traffic across more partitions to mitigate these exceptions. NoteLogical Amazon Keyspaces partitions can span multiple storage partitions and are virtually unbounded in size. Units: Dimensions: Valid Statistics:
|
SuccessfulRequestCount |
The number of successful requests processed over the specified time period. Units: Dimensions: Valid Statistics:
|
SuccessfulRequestLatency |
The successful requests to Amazon Keyspaces during the specified time period.
Units: Dimensions: Valid Statistics:
|
SystemErrors |
The requests to Amazon Keyspaces that generate a Units: Dimensions: Valid Statistics:
|
SystemReconciliationDeletes |
The units consumed to delete tombstoned data when client-side timestamps are enabled.
Each Units: Dimensions: Valid Statistics:
|
TTLDeletes |
The units consumed to delete or update data in a row by using Time to Live (TTL). Each Units: Dimensions: Valid Statistics:
|
UserErrors |
Requests to Amazon Keyspaces that generate an
Units: Dimensions: Valid Statistics:
|
WriteThrottleEvents |
Requests to Amazon Keyspaces that exceed the provisioned write capacity for a table, or account level quotas, request per connection quotas, or partition level quotas. Units: Dimensions: Valid Statistics:
|
Dimensions for Amazon Keyspaces metrics
The metrics for Amazon Keyspaces are qualified by the values for the account, table name, or operation. You can use the CloudWatch console to retrieve Amazon Keyspaces data along any of the dimensions in the following table.
Dimension | Description |
---|---|
Keyspace
|
This dimension limits the data to a specific keyspace. This value can be any keyspace in the current Region and the current AWS account. |
Operation
|
This dimension limits the data to one of the Amazon Keyspaces CQL operations, such as
|
TableName
|
This dimension limits the data to a specific table. This value can be any
table name in the current Region and the current AWS account. If the table
name is not unique within the account, you must also specify
|