-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
google_monitoring_alert_policy: support "Notify on incident resolution" #8470
google_monitoring_alert_policy: support "Notify on incident resolution" #8470
Comments
I tried to modify the policy and then use |
This is now the default behaviour for new alerts: https://cloud.google.com/monitoring/docs/release-notes#April_09_2021
|
For API the default is on, so it's nice to have the option to turn it off. |
It would be helpful to have this option, seeing that some of the alerts do not need notification upon resolution - without this option, all of them have this by default and it makes it a very "dense" space to go through alerts. |
Do you have any update on this feature ? It would be great to have an option to disable this notification. |
Hello... is there an update to this feature request ?!?!?! |
PSA to those requesting this feature: Terraform can't support something that can't be achieved with the API and the API doesn't currently support this. This upstream issue to expose it in the Monitoring API needs to be addressed before the Terraform team can work on it. |
…icorp#8470) * Allow specifying global L7 ILB in dns_record_set routing policy * fix url_map default_service in docs * fix forwarding rule reference in rrset for cross-region test * don't specify region for globalL7ilb routing policy item * add backend subnet for FR IP address provisioning * pass backendSubnetName to cross-region L7 test case * remove google-beta req from test backend subnet * remove extra primary-backup examples * add globalL7ilb value to docs Signed-off-by: Modular Magician <[email protected]>
… (#15521) * Allow specifying global L7 ILB in dns_record_set routing policy * fix url_map default_service in docs * fix forwarding rule reference in rrset for cross-region test * don't specify region for globalL7ilb routing policy item * add backend subnet for FR IP address provisioning * pass backendSubnetName to cross-region L7 test case * remove google-beta req from test backend subnet * remove extra primary-backup examples * add globalL7ilb value to docs Signed-off-by: Modular Magician <[email protected]>
The REST API documentation shows support for https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.alertPolicies#NotificationPrompt |
I opened a PR to add support for this feature. I've detailed the behavior in the PR, and it worked without any issues locally. |
Community Note
Description
There's a new option on the web UI when editing/adding an alert policy "Notify on incident resolution" that you can uncheck, and the "RESOLVED" notification will not be triggered.
New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: