Silence Periods in Cloud Monitoring: Verifying State & Cross‑Channel Noise
0 reputation · 14 Nov 2022, 04:51 UTC
The objective is to reduce notification noise in Cloud Monitoring alert policies while maintaining reliable incident visibility.
Silence periods are defined per alert policy and apply to each notification channel individually. In practice this can lead to a mixture of alerts—some channels silence while others continue to fire.
The Cloud Monitoring API exposes a silencePeriod field, but it does not indicate whether a policy is currently in a silenced state. The UI shows a silenced badge, yet automation scripts cannot confirm the status.
Additionally, log‑based metric alerts can reduce noise by only firing after a threshold over an aggregation window, yet the interaction between log‑based thresholds, silence periods, and incident auto‑close remains unclear.
Given these uncertainties, the following questions remain:
- What API calls can confirm that a policy is currently silenced for a specific channel?
- Is there a supported method to enforce silence globally across all channels of a policy?
- How can duplicate notifications be prevented when multiple channels are active but only one should be notified during a silence period?