From 8d9944e9bbe3846d504112a9dd02c910b4a7c7fa Mon Sep 17 00:00:00 2001 From: Nelson Taveras <4562733+nvtaveras@users.noreply.github.com> Date: Tue, 30 Jul 2024 18:14:02 +0200 Subject: [PATCH] fix: add cross series reducer to monitoring (#11) --- infra/monitoring.tf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/infra/monitoring.tf b/infra/monitoring.tf index 0fca3a8..1e10f56 100644 --- a/infra/monitoring.tf +++ b/infra/monitoring.tf @@ -47,8 +47,9 @@ resource "google_monitoring_alert_policy" "health_check_policy" { threshold_value = 1 aggregations { - alignment_period = "21600s" # 6 hours - per_series_aligner = "ALIGN_SUM" + alignment_period = "21600s" # 6 hours + per_series_aligner = "ALIGN_SUM" + cross_series_reducer = "REDUCE_SUM" } trigger {