I would like to be able to trigger a HTTP request to my server whenever my Cloud SQL instance reaches 90% CPU utilization or 80% memory utilization.
Can I setup a cloud event that triggers an HTTP request when this occurs? If not, at the very least, can I write a script that polls my Cloud SQL instance via API? If so, what endpoint returns the status of my instance?