Skip to content

Commit

Permalink
Revert "Change write correctness counter to be a delta"
Browse files Browse the repository at this point in the history
It turns out that the value we have is a gauge, not a counter.  When we try use a counter, we don't detect the edge from "not collected" to "1", so the alert doesn't work.

This reverts commit a1937fd.
  • Loading branch information
evankanderson committed Dec 5, 2023
1 parent a1937fd commit f43a7e5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions terraform/gcp/modules/monitoring/prober/prober_alerts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ resource "google_monitoring_alert_policy" "prober_verification" {
condition_threshold {
aggregations {
alignment_period = "60s"
per_series_aligner = "ALIGN_DELTA"
per_series_aligner = "ALIGN_SUM"
}

comparison = "COMPARISON_GT"
Expand All @@ -211,8 +211,6 @@ resource "google_monitoring_alert_policy" "prober_verification" {
count = "1"
percent = "0"
}

evaluation_missing_data = "EVALUATION_MISSING_DATA_INACTIVE"
}

display_name = "Kubernetes Container - prometheus/verification"
Expand Down

0 comments on commit f43a7e5

Please sign in to comment.