Skip to content

Commit

Permalink
fix: add cross series reducer to monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
nvtaveras committed Jul 30, 2024
1 parent 6e7a988 commit af1c89c
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 af1c89c

Please sign in to comment.