| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Amazon RDS and Amazon CloudWatch are integrated so you can gather a variety of metrics. You can monitor these metrics with Amazon CloudWatch.
In this example, you use Amazon CloudWatch to gather storage space statistics for an Amazon RDS DB instance for the past hour.
To view usage and performance statistics for a DB instance
Sign in to the AWS Management Console and open the Amazon RDS console at https://console.aws.amazon.com/rds/.
In the navigation pane, click DB Instances.
Select the check box for the DB instance you want to monitor.
Click Show Monitoring at the top of the window.
Graphs showing the metrics for the selected DB instance display in this tab.

Tip
You can use the Time Range drop-down list box to select the time range of the metrics represented by the graphs.
You can click on any of the graphs to bring up a more detailed view of the graph that allows you to apply additional metric-specific filters to the metric data.
Note
The following CLI example requires the Amazon CloudWatch command line tools. For more
information on Amazon CloudWatch and to download the developer tools, go to the
Amazon CloudWatch product
page. Note that the StartTime and EndTime
values supplied in this example are for illustrative purposes. You must substitute
appropriate start and end time values for your DB instance.
For a complete list of Amazon RDS metrics, go to Amazon RDS Dimensions and Metrics in the Amazon CloudWatch Developer Guide.
To view usage and performance statistics for a DB instance
Use the Amazon CloudWatch command mon-get-stats with the following parameters:
PROMPT>mon-get-stats FreeStorageSpace --dimensions="DBInstanceIdentifier=mydbinstance" --statistics= Average --namespace="AWS/RDS" --start-time 2009-10-16T00:00:00 --end-time 2009-10-16T00:02:00
Note that the StartTime and EndTime values supplied in this
example are for illustrative purposes. You must substitute appropriate start and end
time values for your DB instance.
To view usage and performance statistics for a DB instance
Call the Amazon CloudWatch API GetMetricStatistics with the following parameters:
Statistics.member.1 = Average
Namespace = AWS/RDS
StartTime = 2009-10-16T00:00:00
EndTime = 2009-10-16T00:02:00
Period = 60
MeasureName = FreeStorageSpace
Example
http://monitoring.amazonaws.com/ ?SignatureVersion=2 &Action=GetMetricStatistics &Version=2009-05-15 &StartTime=2009-10-16T00:00:00 &EndTime=2009-10-16T00:02:00 &Period=60 &Statistics.member.1=Average &Dimensions.member.1="DBInstanceIdentifier=mydbinstance" &Namespace=AWS/RDS &MeasureName=FreeStorageSpace &Timestamp=2009-10-15T17%3A48%3A21.746Z &AWSAccessKeyId=<AWS Access Key ID> &Signature=<Signature>