fix(monitor,suggestion): order commonalert metric and modify alertresoruce type value and add suggestion models climc

1.修改监控metric排序
2.统一报警资源type和监控报警中res_type 进行统一,前端可以统一展示
3.增加suggestion服务相关climc
This commit is contained in:
zhaoxiangchun
2021-01-06 21:31:02 +08:00
parent 77227ca67f
commit 73ab024df8
7 changed files with 44 additions and 9 deletions
@@ -25,4 +25,6 @@ func init() {
cmd.List(new(options.SuggestSysAlertListOptions))
cmd.Show(new(options.SSuggestAlertShowOptions))
cmd.Perform("ignore", new(options.SuggestAlertIgnoreOptions))
cmd_ := shell.NewResourceCmd(monitor.SuggestSysAlertCostManager)
cmd_.Get("", new(options.SuggestAlertCostOptions))
}