Skip to content

Instantly share code, notes, and snippets.

@ryantuck
Created September 6, 2016 15:50
Show Gist options
  • Save ryantuck/086fa76e35bc95a45442b053c2070297 to your computer and use it in GitHub Desktop.
Save ryantuck/086fa76e35bc95a45442b053c2070297 to your computer and use it in GitHub Desktop.
get rds metrics
aws cloudwatch get-metric-statistics \
--metric-name DatabaseConnections \
--start-time 2016-09-01T00:00:00 \
--end-time 2016-09-06T00:00:00 \
--period 3600 \
--namespace AWS/RDS \
--statistics Average \
--dimensions Name=DBInstanceIdentifier,Value=my-db-instance-identifier-name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment