aws cloudwatch get-metric-statistics --namespace AWS/RDS --dimensions Name=DBClusterIdentifier,Value=[omitted] --start-time 2018-10-16T17:50:32Z --metric-name CPUUtilization --period 60 --statistics Average
{
"Datapoints": [
{
"Timestamp": "2018-10-16T17:56:00Z",
"Average": 6.08333333337214,
"Unit": "Percent"
},
{
"Timestamp": "2018-10-16T17:51:00Z",
"Average": 6.25,
"Unit": "Percent"
},
{
"Timestamp": "2018-10-16T17:55:00Z",
"Average": 6.25,
"Unit": "Percent"
},
{
"Timestamp": "2018-10-16T17:50:00Z",
"Average": 5.99999999996119,
"Unit": "Percent"
},
{
"Timestamp": "2018-10-16T17:59:00Z",
"Average": 6.25,
"Unit": "Percent"
},
{
"Timestamp": "2018-10-16T17:54:00Z",
"Average": 6.16666666658906,
"Unit": "Percent"
},
{
"Timestamp": "2018-10-16T17:58:00Z",
"Average": 5.67796610165545,
"Unit": "Percent"
},
{
"Timestamp": "2018-10-16T17:53:00Z",
"Average": 6.35593220338983,
"Unit": "Percent"
},
{
"Timestamp": "2018-10-16T17:57:00Z",
"Average": 6.14754098360656,
"Unit": "Percent"
},
{
"Timestamp": "2018-10-16T17:52:00Z",
"Average": 6.14754098360656,
"Unit": "Percent"
}
],
"Label": "CPUUtilization"
}
This looks to be correct. I noticed I was using DBInstanceIdentifier, which seems to be depricated. I switched my config to use DBClusterIdentifier, but still seeing the same behavior.
Thanks for the quick reply Brian.
Cheers,
John