alert_policy_templates:
-
  id: 1p-cloudsql-instance-in-failed-state
  display_name: Cloud SQL - Instance in Failed State
  description: "This alert fires when any Cloud SQL instance has stopped working and has entered an error state. The cause should be investigated and the instance should be restored from a backup. For more information on managing instances and troubleshooting failed instances visit: https://cloud.google.com/sql/docs/troubleshooting#managing-instances"
  version: 1
  related_integrations:
    - id: cloud_sql
      platform: GCP
-
  id: 1p-postgresql-slow-transactions
  display_name: PostgreSQL - Slow Transactions
  description: "This alert fires if the database is having trouble keeping up with transactions. You should investigate performance improvements, such as increasing resources for Cloud SQL, improving query efficiency, and more. For additional information visit https://cloud.google.com/sql/docs/postgres/diagnose-issues."
  version: 1
  related_integrations:
    - id: cloud_sql
      platform: GCP
-
  id: 1p-replication-in-error-state
  display_name: Replication in Error State
  description: "This alert fires when any replica has stopped working and has entered an error state. For more information on disaster recovery visit: https://cloud.google.com/sql/docs/mysql/replication/cross-region-replicas."
  version: 1
  related_integrations:
    - id: cloud_sql
      platform: GCP
