Your Location is: Home > Mysql

Could not find CPUCreditUsage metrics for my RDS - MYSQL using cloudwatch cli

From: Japan View: 2017 usergg123 

Question

I am trying to monitor my RDS instance's `CPUCreditUsage` metric using Cloudwatch in AWS CLI. I have two accounts, on one of the accounts, the output is shown correctly. But on another account, when checked with `get-metric-statistics` command, it is returning null Datapoints.

aws cloudwatch list-metrics --namespace "AWS/RDS" --region --profile

The CPUCreditUsage is not shown in the Cloudwatch list-metrics command as above.

EDIT: my rds sql instance of type - db.t2.micro, and the one where im not getting the metrics CPUCreditUsage is of db.r5.xlarge

Best answer