Skip to content

Commit

Permalink
fix: add cross series reducer to monitoring (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvtaveras authored Jul 30, 2024
1 parent 6e7a988 commit 5a9d678
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions infra/monitoring.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5a9d678

Please sign in to comment.