mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-29 17:58:36 +08:00
Automated cherry pick of #14979: fix(monitor,region,climc): use commonalert api for scaling policy (#14986)
* fix(monitor,region,climc): use commonalert api for scaling policy * fix(monitor): use commonalert as nodealert's backend
This commit is contained in:
@@ -38,7 +38,11 @@ var (
|
||||
EvaluatorDefaultTypes = []string{"gt", "lt", "eq"}
|
||||
EvaluatorRangedTypes = []string{"within_range", "outside_range"}
|
||||
|
||||
CommonAlertType = []string{monitor.CommonAlertNomalAlertType, monitor.CommonAlertSystemAlertType}
|
||||
CommonAlertType = []string{
|
||||
monitor.CommonAlertNomalAlertType,
|
||||
monitor.CommonAlertSystemAlertType,
|
||||
monitor.CommonAlertServiceAlertType,
|
||||
}
|
||||
CommonAlertReducerFieldOpts = []string{"/"}
|
||||
CommonAlertNotifyTypes = []string{"email", "mobile", "dingtalk", "webconsole", "feishu"}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user