Managing CloudWatch metrics
Storage metrics are enabled by default for all Amazon S3 tables and table buckets. You can enable or disable additional Request metrics through the console, Amazon Command Line Interface (Amazon CLI), or Amazon SDKs.
Prerequisites
-
Requires
s3table:PutTableBucketMetricsConfigurationIAM permission
Note
S3 Tables Request metrics are billed at the same rate as CloudWatch custom metrics.
Using the Amazon Management Console
To enable or disable additional metrics
-
Sign in to the Amazon Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/
. -
In the left navigation pane, choose Table buckets.
-
In the buckets list, choose the name of the table bucket that contains the tables you want to request metrics for.
-
Choose the Metrics tab.
-
From the Request metrics panel, choose Edit.
-
Select Enabled or Disabled, then Save changes.
Using the Amazon CLI
These examples show how to enable or disable request metrics for table buckets by using the Amazon CLI. To use these commands, replace the user input placeholders with your own information.
Example: To enable request metrics for a table bucket:
aws s3tables put-table-bucket-metrics-configuration \ --table-bucket-arn arn:aws:s3tables:us-east-1:111122223333:bucket/amzn-s3-demo-table-bucket
Example: To disable request metrics for a table bucket:
aws s3tables delete-table-bucket-metrics-configuration \ --table-bucket-arn arn:aws:s3tables:us-east-1:111122223333:bucket/amzn-s3-demo-table-bucket