You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# In the absence of data, incident will auto-close in 7 days
71
+
alert_strategy {
72
+
auto_close="604800s"
73
+
74
+
notification_rate_limit {
75
+
period="86400s"// re-alert once a day if condition still valid.
76
+
}
77
+
}
78
+
79
+
display_name="${var.cloudrun_name} OOM Alert"
80
+
combiner="OR"
81
+
82
+
conditions {
83
+
display_name="${var.cloudrun_name} OOM Alert"
84
+
85
+
condition_matched_log {
86
+
filter="${join(" AND ", var.filter)} AND logName:\"run.googleapis.com%2Fvarlog%2Fsystem\" AND severity=ERROR AND textPayload:\"Consider increasing the memory limit\""
| <aname="input_alerts"></a> [alerts](#input\_alerts)| A mapping from alerting policy names to the alert ids to add to the dashboard. |`map(string)`|`{}`| no |
84
84
| <aname="input_labels"></a> [labels](#input\_labels)| Additional labels to apply to the dashboard. |`map`|`{}`| no |
85
+
| <aname="input_notification_channels"></a> [notification\_channels](#input\_notification\_channels)| List of notification channels to alert. |`list(string)`|`[]`| no |
85
86
| <aname="input_project_id"></a> [project\_id](#input\_project\_id)| ID of the GCP project |`string`| n/a | yes |
86
87
| <aname="input_service_name"></a> [service\_name](#input\_service\_name)| Name of the service(s) to monitor |`string`| n/a | yes |
0 commit comments