You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何停止Google Cloud Stackdriver中已解决的应用错误告警通知

How to Stop Receiving "Resolved" Status Notifications for Stackdriver/Cloud Monitoring Alerts

Got it, this is a super common tweak folks want to make when setting up error-based alerts in Google Cloud Monitoring (formerly Stackdriver). Here's exactly how you can disable those resolved-status notifications:

Step-by-Step via Cloud Console

  • First, head to the Cloud Monitoring section in your Google Cloud Console. Navigate to the Alerting page, then select Alerting policies from the left sidebar.
  • Find the specific alert policy you created for application errors, click on its name to open the policy editor.
  • Scroll down to the Notifications section of the policy. For each notification channel linked to this policy (like email, Slack, PagerDuty), click the small pencil icon (edit button) next to the channel.
  • In the pop-up edit window, look for the option labeled Notify on resolved incidents—simply uncheck this box.
  • Save the channel changes, then make sure to save the entire alert policy update at the bottom of the page.

Using gcloud CLI (For Power Users)

If you prefer using the command line to make changes, you can update the alert policy with this gcloud command:

gcloud alpha monitoring policies update YOUR_POLICY_ID \
  --notification-channels=YOUR_CHANNEL_ID \
  --remove-notification-channel-field=notifyOnResolved
  • Replace YOUR_POLICY_ID with the ID of your target alert policy (get this via gcloud alpha monitoring policies list).
  • Replace YOUR_CHANNEL_ID with the ID of your notification channel (get this via gcloud alpha monitoring channels list).

Quick Note for New Policies

When creating a brand new alert policy, you can skip the post-setup edit—just uncheck the Notify on resolved incidents box while configuring your notification channels right from the start.

内容的提问来源于stack exchange,提问作者Pthota

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.07 15:27:32