From 5a9d67891d4e79654d5173878d6ccc825f10e9bc 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 {