Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to alerting when SQL CPU and RAM utilization > 90% and how to test it

Please help me, step by step to setting alerting when CPU and RAM utilization of SQL.
And how to test it working

0 1 765
1 REPLY 1

Hello hoand,

In the Google Cloud console, go to the Cloud SQL Instances page.

Go to Cloud SQL Instances

To open the Overview page of an instance, click the instance name.
The default metrics chart appears at the top of the page.

Optional: Select another metric from the Chart drop-down list.

The chart shows the data for the selected metric.

The list includes the following options:
CPU utilization
Active connections
Storage usage
Memory usage
Read/write operations
Ingress/Egress bytes
MySQL queries
MySQL questions
Read/write InnoDB pages
InnoDB data fsyncs
InnoDB log fsyncs
Replication lag (for read replicas)

You can check the documentation as reference for comparing the usage of your SQL instance from others as testing.