This module creates a set of monitoring alerts for Google Cloud Platform services.
Supported services:
-
Cloud SQL
- CPU usage
- Storage usage
- Memory usage
-
Kyverno
- Error logs for admission-controller, background-controller, cleanup-controller, reports-controller
- Metric threshold (optional)
| Name | Version |
|---|---|
| >= 5.10 |
| Name | Version |
|---|---|
| terraform | >= 1.5 |
| >= 5.10 |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| cloud_sql | Configuration for Cloud SQL monitoring alerts. Supports customization of project, auto-close timing, notification channels, and per-instance alert thresholds for CPU, memory, and disk utilization. | object({ |
n/a | yes |
| kyverno | Configuration for Kyverno monitoring alerts. Allows customization of cluster name, project, notification channels, alert documentation, metric thresholds, auto-close timing, enablement, extra filters, and namespace. | object({ |
n/a | yes |
| notification_channels | List of notification channel IDs to notify when an alert is triggered | list(string) |
[] |
no |
| project_id | The Google Cloud project ID where logging exclusions will be created | string |
n/a | yes |
| Name | Description |
|---|---|
| cloud_sql_cpu_utilization | n/a |
| cloud_sql_disk_utilization | n/a |
| cloud_sql_memory_utilization | n/a |
No modules.